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: FreescaleIAP mbed-rtos mbed
Fork of workinQM_5thJan_azad by
Diff: TCTM.cpp
- Revision:
- 35:7193e581932f
- Parent:
- 34:1b41c34b12ea
diff -r 1b41c34b12ea -r 7193e581932f TCTM.cpp --- a/TCTM.cpp Mon Jul 04 07:01:26 2016 +0000 +++ b/TCTM.cpp Mon Jul 04 13:32:29 2016 +0000 @@ -851,10 +851,10 @@ uint16_t moment_ret; telemetry[3] = 0x00; telemetry[4] = ACS_STATUS; - moment_ret = float_to_uint16(-2.2,2.2,moment_comm[0]); = float_to_uint16(-2.2,2.2,moment_comm[0]); + moment_ret = float_to_uint16(-2.2,2.2,moment_comm[0]); telemetry[5] = (uint8_t)(moment_ret>>8); telemetry[6] = (uint8_t)moment_ret; - moment_ret = float_to_uint16(-2.2,2.2,moment_comm[0]); = float_to_uint16(-2.2,2.2,moment_comm[1]); + moment_ret = float_to_uint16(-2.2,2.2,moment_comm[0]); telemetry[7] = (uint8_t)(moment_ret>>8); telemetry[8] = (uint8_t)moment_ret; moment_ret = float_to_uint16(-2.2,2.2,moment_comm[2]);