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:
parent
c1782ac024
commit
5de364163f
11 changed files with 43 additions and 44 deletions
|
@ -1205,7 +1205,7 @@
|
|||
}
|
||||
|
||||
return (MaskVal << EPSIZE0);
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue