diff --git a/platform/targets/MD-UV380/hwconfig.h b/platform/targets/MD-UV380/hwconfig.h index 897e2c02..438e2aff 100644 --- a/platform/targets/MD-UV380/hwconfig.h +++ b/platform/targets/MD-UV380/hwconfig.h @@ -76,6 +76,9 @@ #define FLASH_SDO GPIOB,4 #define FLASH_SDI GPIOB,5 +/* Maximum battery voltage */ +#define MAX_VBAT 8.4f + /* * To enable pwm for display backlight dimming uncomment this directive. *