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: RMD.cpp
- Revision:
- 16:450ab4cb1b3c
- Parent:
- 15:71cdbe24695f
- Child:
- 17:5e45e709936f
--- a/RMD.cpp Wed Nov 04 14:21:23 2020 +0000
+++ b/RMD.cpp Wed Nov 04 14:23:07 2020 +0000
@@ -14,7 +14,7 @@
if (read(msg)){
int fv = (((uint16_t)msg.data[5] << 8) + ((uint16_t)msg.data[4])) / ((uint16_t)6);
- return fv
+ return fv;
//printf(" Speed : %d\n", fv);
// printf(" Speed high byte: %x\n", msg.data[5]);
// printf(" Speed low byte: %x\n", msg.data[4]);