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.
Diff: canutils.cpp
- Revision:
- 2:bf3a2b29259a
- Parent:
- 1:d5452e398b76
- Child:
- 3:92dae9083c83
--- a/canutils.cpp Tue Sep 14 21:02:04 2010 +0000
+++ b/canutils.cpp Tue Dec 14 21:50:35 2010 +0000
@@ -67,7 +67,8 @@
while (CANTimer.read_ms() < timeout) {
if (can.write(CANMessage(id, frame, len))) {
CANTimer.stop();
- led1 = 1;
+ CANTXLEDON;
+// led1 = 1;
return TRUE;
}
}
@@ -100,7 +101,8 @@
}
printf("\n\r");
// */
- led2 = 1;
+ CANRXLEDON;
+// led2 = 1;
if (CANMsgRx.id == id) {
CANTimer.stop();
// if (T5MsgRx.len != len)