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: FPGA_bus.cpp
- Revision:
- 3:cf36c2d4208f
- Parent:
- 2:fd5c862b86db
- Child:
- 4:e5d36eee9245
--- a/FPGA_bus.cpp Wed Apr 17 15:58:52 2019 +0000 +++ b/FPGA_bus.cpp Wed Apr 17 16:18:39 2019 +0000 @@ -209,7 +209,7 @@ do_transaction(READ_REGISTER_CMD, (RC_0 + RC_SERVO_CONFIG), NULL, &data, &status); int32_t config = (data || (0x01 << channel)) + GLOBAL_RC_ENABLE; do_transaction(WRITE_REGISTER_CMD, (RC_0 + RC_SERVO_CONFIG), config, &data, &status); - global_FPGA_unit_error_flag = config; // = status; + global_FPGA_unit_error_flag = status; } void FPGA_bus ::disable_RC_channel(uint32_t channel)