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.
Dependents: Simulation_carte_maitresse
Diff: meteoCAN.cpp
- Revision:
- 4:caf7ef3d4d6e
- Parent:
- 3:7715f6cccb3a
- Child:
- 5:a90b50a19ae4
--- a/meteoCAN.cpp Fri Jun 14 09:17:58 2019 +0000
+++ b/meteoCAN.cpp Fri Jun 14 09:47:35 2019 +0000
@@ -38,8 +38,8 @@
return true;
}
-bool meteoCAN::filtreID(uint16_t IDreceived, uint16_t IDtoFilter){
- if(IDtoFilter == IDreceived) return true;
+bool meteoCAN::filtreID(CANMessage &msg, uint16_t IDtoFilter){
+ if(IDtoFilter == msg.id) return true;
else return false;
}