diff options
| author | Keith Packard <keithp@keithp.com> | 2009-04-06 17:09:23 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-04-06 17:09:23 -0700 | 
| commit | ee110425fb814780476d1d3d8a257af126f41763 (patch) | |
| tree | b00740e48b6e1f8766dc4c5a650931d747b81cc0 /lib/cc-usb.c | |
| parent | 2d9b8a83a2d9f495199033e43f519d26f27938fe (diff) | |
Bump buffer pointer as data is written to cc-usb
Diffstat (limited to 'lib/cc-usb.c')
| -rw-r--r-- | lib/cc-usb.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/lib/cc-usb.c b/lib/cc-usb.c index a85765af..5da36fe9 100644 --- a/lib/cc-usb.c +++ b/lib/cc-usb.c @@ -226,6 +226,7 @@ cc_usb_printf(struct cc_usb *cc, char *format, ...)  		memcpy(cc->out_buf + cc->out_count, b, this_time);  		cc->out_count += this_time;  		ret -= this_time; +		b += this_time;  		while (cc->out_count >= CC_BUF)  			cc_usb_sync(cc);  	} | 
