Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: F7_Ethernet mbed MbedJSONValue LCD_DISCO_F746NG mbed-rtos BSP_DISCO_F746NG CANMsg NetworkAPI SDFileSystem_Warning_Fixed GroveStreamsmodified LcdDiscoF746NgTracer JSON
Revision 9:332bd237b98f, committed 2020-09-08
- Comitter:
- jeanpierreaulas
- Date:
- Tue Sep 08 15:01:08 2020 +0000
- Branch:
- jpa
- Parent:
- 8:275ae4382788
- Commit message:
- adjustment
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Sep 08 15:00:05 2020 +0000
+++ b/main.cpp Tue Sep 08 15:01:08 2020 +0000
@@ -242,13 +242,13 @@
}
if (msgSerialUSB > 0) {receiveSerialUSB();}
- if (stringSerialUSBok == 1) {stringSerialUSBok=0;printf("Trame SerialUSB : %s",stringSerialUSB);}
+ if (stringSerialUSBok == 1) {printf("Trame SerialUSB : %s",stringSerialUSB);stringSerialUSBok=0;}
if (msgSerial2 > 0) {receiveSerial2();}
- if (stringSerial2ok == 1) {stringSerial2ok=0;printf("Trame Serial2 : %s",stringSerial2);}
+ if (stringSerial2ok == 1) {printf("Trame Serial2 : %s",stringSerial2);stringSerial2ok=0;}
if (msgSerial7 > 0) {receiveSerial7();}
- if (stringSerial7ok == 1) {stringSerial7ok=0;printf("Trame Serial7 : %s",stringSerial7);}
+ if (stringSerial7ok == 1) {printf("Trame Serial7 : %s",stringSerial7);stringSerial7ok=0;}
// timer send can
if(timer.read_ms() >= 10000) // check for timeout