jim herd / FPGA_bus
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)