LIGHT2

Dependencies:   FastPWM mbed

Revision:
238:4e660aa77eb7
Parent:
237:c2cfe349f5c1
Child:
239:8ac5c6162bc1
diff -r c2cfe349f5c1 -r 4e660aa77eb7 function_utilities/function_utilities.cpp
--- a/function_utilities/function_utilities.cpp	Wed Jul 07 10:09:21 2021 +0000
+++ b/function_utilities/function_utilities.cpp	Tue Jul 13 01:40:56 2021 +0000
@@ -60,7 +60,7 @@
 int16_t VALVE_DEADZONE_MINUS;
 
 int16_t VELOCITY_COMP_GAIN;
-int16_t COMPLIANCE_GAIN;
+//int16_t COMPLIANCE_GAIN;
 
 int16_t VALVE_CENTER;
 
@@ -421,7 +421,7 @@
     VALVE_DEADZONE_PLUS = (spi_eeprom_read(RID_VALVE_DEADZONE_PLUS));
     VALVE_DEADZONE_MINUS = (spi_eeprom_read(RID_VALVE_DEADZONE_MINUS));
     VELOCITY_COMP_GAIN = spi_eeprom_read(RID_VELOCITY_COMP_GAIN);
-    COMPLIANCE_GAIN = spi_eeprom_read(RID_COMPLIANCE_GAIN);
+//    COMPLIANCE_GAIN = spi_eeprom_read(RID_COMPLIANCE_GAIN);
     VALVE_CENTER = spi_eeprom_read(RID_VALVE_CNETER);
     VALVE_FF = spi_eeprom_read(RID_VALVE_FF);
     BULK_MODULUS = spi_eeprom_read(RID_BULK_MODULUS);