Update CDC Class Driver character stream functions to use the correct avr-libc return codes for errors and EOF.

Fix pointer arithmetic on void byte buffers by explicitly typecasting the buffer pointers to uint8_t* before altering them.
This commit is contained in:
Dean Camera 2009-11-10 11:24:15 +00:00
parent c1782ac024
commit 5de364163f
11 changed files with 43 additions and 44 deletions

View file

@ -14,6 +14,7 @@
* and supporter. Please consider donating a small amount to support this and my future Open Source projects - All
* donations are <i>greatly</i> appreciated.
*
* <b>Donate to this project at <a>http://www.fourwalledcubicle.com</a></b> via PayPal - Thanks in Advance!
* <img src='http://www.pledgie.com/campaigns/6927.png?skin_name=chrome' border='0'></img>
* <a href='http://www.pledgie.com/campaigns/6927'>Donate to this project via PayPal</a> - Thanks in Advance!
*/