diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteReset.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteReset.h index 8e8d30fb3..1f56de86f 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteReset.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/EliteReset.h @@ -10,7 +10,6 @@ static void reset() { SampleRate_counter = 1; StepTimeCounter = 1; avg_number = 0; - ADCRealCurrent = 0; ADCRealCurrent_long = 0; @@ -51,7 +50,6 @@ static void Eliteinterrupt() { StepTimeCounter = 1; SampleRate_counter = 1; avg_number = 0; - ADCRealCurrent = 0; ADCRealCurrent_long = 0; LEDPowerON(); @@ -91,7 +89,6 @@ static void CleanBuffer() { SampleRate_counter = 1; StepTimeCounter = 1; avg_number = 0; - ADCRealCurrent = 0; ADCRealCurrent_long = 0; for (int i = 0; i < SPI_LED_SIZE; i++) { diff --git a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage.h b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage.h index d44bd9292..2696faac7 100644 --- a/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage.h +++ b/simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage.h @@ -834,8 +834,8 @@ static void update_ZM_instruction(uint8 *ins) { case VOLT_OUTPUT: { INSTRUCTION.eliteFxn = VOLT_OUTPUT; INSTRUCTION.VoltConstant = ( ((uint16_t)(ins[3])) << 8) | (uint16_t)(ins[4]); - DAC_outputV(Usercode_Correction_to_DAC(INSTRUCTION.VoltConstant)); -// DAC_outputV(INSTRUCTION.VoltConstant); +// DAC_outputV(Usercode_Correction_to_DAC(INSTRUCTION.VoltConstant)); + DAC_outputV(INSTRUCTION.VoltConstant); break; }