![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
app4
Dependencies: mbed-rtos mbed CRC16
Fork of S5info_APP2 by
Diff: uart.h
- Revision:
- 10:8b066285c2e0
- Parent:
- 9:01be68364986
diff -r 01be68364986 -r 8b066285c2e0 uart.h --- a/uart.h Mon Mar 06 22:46:10 2017 +0000 +++ b/uart.h Mon Mar 06 22:49:58 2017 +0000 @@ -11,7 +11,7 @@ const char MAX_LENGTH = 80; CRC16 mycrc16; -vector<char> uart_read(Serial& COM, Serial& pc) +vector<char> uart_read(Serial& COM) { vector<char> result; @@ -41,8 +41,6 @@ RETURN_EMPTYVECTOR(char); } - charge_utile.push_back('\0'); // end of string pour pouvoir l'afficher - return charge_utile; } RETURN_EMPTYVECTOR(char);