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: 2019_SwitchNode_AR ArmNode 2919_LineSensor 2019_MD ... more
Diff: Mycan.cpp
- Revision:
- 9:32f2e17ba653
- Parent:
- 7:cac42b73a4f6
- Child:
- 11:10a25bb14793
--- a/Mycan.cpp Mon Sep 02 05:09:45 2019 +0000 +++ b/Mycan.cpp Sun Sep 15 17:40:47 2019 +0000 @@ -66,8 +66,7 @@ can.read(received); rd_decimal = *(can_decimal *)received.data; - decimal_values_storage[received.id].value[0] = rd_decimal.value[0]; - decimal_values_storage[received.id].value[1] = rd_decimal.value[1]; + decimal_values_storage[received.id] = rd_decimal; } float Mycan::get(uint32_t _id, int _num)