diff --git a/openrtx/src/core/battery.c b/openrtx/src/core/battery.c index 33bc37cb..a842c624 100644 --- a/openrtx/src/core/battery.c +++ b/openrtx/src/core/battery.c @@ -35,9 +35,6 @@ static const uint16_t bat_v_max = 0x0819; // 8.10V #elif defined BAT_LIPO_3S static const uint16_t bat_v_min = 0x0AD4; // 10.83V static const uint16_t bat_v_max = 0x0C73; // 12.45V -#elif defined BAT_MOD17 -static const uint16_t bat_v_min = 0x0600; // 6.00V -static const uint16_t bat_v_max = 0x0DCD; // 13.8V #elif defined BAT_NONE static const uint16_t bat_v_min = 0; static const uint16_t bat_v_max = 0; diff --git a/platform/targets/Module17/hwconfig.h b/platform/targets/Module17/hwconfig.h index b778f757..26ad7b34 100644 --- a/platform/targets/Module17/hwconfig.h +++ b/platform/targets/Module17/hwconfig.h @@ -39,7 +39,7 @@ #define PIX_FMT_BW /* Device has no battery */ -#define BAT_MOD17 +#define BAT_NONE /* Signalling LEDs */ #define PTT_LED GPIOC,8