diff --git a/include/MCU_rev15_defs.h b/include/MCU_rev15_defs.h index 84353bdc3..ac2462f88 100644 --- a/include/MCU_rev15_defs.h +++ b/include/MCU_rev15_defs.h @@ -8,9 +8,9 @@ // pindefs -const int ADC1_CS = 34; -const int ADC2_CS = 33; -const int ADC3_CS = 29; +const int ADC1_CS = 34; // Main ECU +const int ADC2_CS = 33; // FL corner board +const int ADC3_CS = 29; // FR corner board const int SOFTWARE_OK = 8; const int WATCHDOG_INPUT = 32; diff --git a/lib/interfaces/src/TelemetryInterface.cpp b/lib/interfaces/src/TelemetryInterface.cpp index c8b6ede89..a506b0747 100644 --- a/lib/interfaces/src/TelemetryInterface.cpp +++ b/lib/interfaces/src/TelemetryInterface.cpp @@ -36,8 +36,8 @@ void TelemetryInterface::update_suspension_CAN_msg(const AnalogConversion_s &lc_ MCU_SUSPENSION_t sus; sus.load_cell_fl = lc_fl.raw; sus.load_cell_fr = lc_fr.raw; - sus.potentiometer_fl = pots_fr.raw; - sus.potentiometer_fr = pots_fl.raw; + sus.potentiometer_fl = pots_fl.raw; + sus.potentiometer_fr = pots_fr.raw; enqueue_new_CAN(&sus, &Pack_MCU_SUSPENSION_hytech); }