LIGHT2

Dependencies:   FastPWM mbed

Revision:
88:d6e591bece22
Parent:
73:f80dc3970c99
Child:
89:a7b45368ea0f
diff -r 471334725012 -r d6e591bece22 function_utilities/function_utilities.cpp
--- a/function_utilities/function_utilities.cpp	Thu Jul 16 03:37:10 2020 +0000
+++ b/function_utilities/function_utilities.cpp	Fri Jul 17 00:58:13 2020 +0000
@@ -464,8 +464,11 @@
 {
     BNO = flashReadInt(Rom_Sector, RID_BNO);
     OPERATING_MODE = flashReadInt(Rom_Sector, RID_OPERATING_MODE);
+    OPERATING_MODE = 1;
     SENSING_MODE = flashReadInt(Rom_Sector, RID_SENSING_MODE);
+    SENSING_MODE = 0;
     CURRENT_CONTROL_MODE = flashReadInt(Rom_Sector, RID_CURRENT_CONTROL_MODE);
+    CURRENT_CONTROL_MODE = 1;
     FLAG_VALVE_DEADZONE = flashReadInt(Rom_Sector, RID_FLAG_VALVE_DEADZONE);
     CAN_FREQ = flashReadInt(Rom_Sector, RID_CAN_FREQ);
     DIR_JOINT_ENC = flashReadInt(Rom_Sector, RID_JOINT_ENC_DIR);