error fix

This commit is contained in:
YiChin
2019-10-21 11:26:40 +08:00
parent 20ccd5de56
commit 4c6dbcf98d
@@ -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