error fix
This commit is contained in:
+1
-1
@@ -157,7 +157,7 @@ static void AutoGainReadCurrent(uint8_t *buf){
|
||||
LED_color(DARKLED, 0xFF, 0x0F, 0x0F);
|
||||
INSTRUCTION.ADCGainLevel = GAIN_200R;
|
||||
ReadCurrent(spi_ADC_rxbuf);
|
||||
ReadCurrent(spi_ADC_rxbuf);lue(INSTRUCTION.ADCGainLevel, ADC_CH_CURRENT, spi_ADC_rxbuf);
|
||||
Real_Current = DecodeADCValue(INSTRUCTION.ADCGainLevel, ADC_CH_CURRENT, spi_ADC_rxbuf);
|
||||
}
|
||||
|
||||
// switch to small range current
|
||||
|
||||
Reference in New Issue
Block a user