Buffered Serial Port Driver for RTOS tested with a K64F
Dependents: JRO_CR2 frdm_test JRO_DDSv2 JRO_DDSv2_rev2019
Fork of SerialDriver by
Diff: SerialDriver.h
- Revision:
- 4:3956012cd0c4
- Parent:
- 3:ea9719695b6a
- Child:
- 5:ee58295c58e1
diff -r ea9719695b6a -r 3956012cd0c4 SerialDriver.h --- a/SerialDriver.h Mon Jan 26 19:21:56 2015 +0000 +++ b/SerialDriver.h Thu Feb 05 19:03:30 2015 +0000 @@ -121,7 +121,7 @@ /// @param length read how much bytes? /// @param block idle wait for every @ref getc to complete /// @return read bytes. For non block read it could be < length! - int read(unsigned char * buffer, const unsigned int length, bool block= true); + int read( char * buffer, const unsigned int length, bool block= true); /// @brief Write a string (without terminating null)