mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-19 21:58:05 +01:00
remove not needed func decl from PR
This commit is contained in:
@@ -125,8 +125,6 @@ static commandResult_t CMD_BATT_Meas(const void* context, const char* cmd, const
|
||||
g_pin_rel = PIN_FindPinIndexForRole(IOR_Relay, g_pin_rel);
|
||||
channel_rel = g_cfg.pins.channels[g_pin_rel];
|
||||
}
|
||||
extern void HAL_ADC_Init(int g_pin_adc);
|
||||
extern int HAL_ADC_Read(int g_pin_adc);
|
||||
HAL_ADC_Init(g_pin_adc);
|
||||
batt_value = HAL_ADC_Read(g_pin_adc);
|
||||
if (batt_value < 1024) {
|
||||
|
||||
Reference in New Issue
Block a user