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: CANBuffer KS0108_fork mbed-rtos mbed CAN Addresses
Fork of REVO_Updated_Steering by
Revision 24:ba3428215006, committed 2014-11-14
- Comitter:
- palimar
- Date:
- Fri Nov 14 00:19:43 2014 +0000
- Parent:
- 23:6681a38918c6
- Child:
- 25:fc63a5bffffc
- Commit message:
- Reswapped code
Changed in this revision
| Steering.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Steering.cpp Thu Nov 13 23:45:12 2014 +0000
+++ b/Steering.cpp Fri Nov 14 00:19:43 2014 +0000
@@ -59,6 +59,7 @@
}
void read_messages(void const *args) {
+
while (true) {
CANMessage Rxmsg;
@@ -85,7 +86,7 @@
}
}
}
-}
+
int main(){
// Initialize, set all variables.
@@ -100,7 +101,7 @@
//New thread to read messages.
Thread update_thread(read_messages);
- update_thread.set_priority(osPriorityLow
+ update_thread.set_priority(osPriorityLow);
wait(1);
