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: mbed
Diff: CAN_asser.cpp
- Revision:
- 16:05665faaa489
- Parent:
- 13:9c62e263f245
- Child:
- 17:aae5361ddddf
diff -r 3d4543a6c100 -r 05665faaa489 CAN_asser.cpp
--- a/CAN_asser.cpp Mon Jun 03 16:37:37 2019 +0000
+++ b/CAN_asser.cpp Tue Jun 04 08:49:01 2019 +0000
@@ -57,12 +57,12 @@
}
}
-void majPos(int* pos)
+void majPos(short* pos)
{
while(nb_msg_can>0)
{
if(msg_can[pt_lecture_can].id == ODOMETRIE_POSITION)
- get_pos(msg_can[pt_lecture_can], (short*)pos);
+ get_pos(msg_can[pt_lecture_can], pos);
nb_msg_can--;
pt_lecture_can++;