diff options
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index c9003bb8f3..dff5ed26f4 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c | |||
@@ -838,7 +838,7 @@ const struct settings_list settings[] = { | |||
838 | NULL, NULL, NULL), | 838 | NULL, NULL, NULL), |
839 | /* use this setting for user code even if there's no exchangable battery | 839 | /* use this setting for user code even if there's no exchangable battery |
840 | * support enabled */ | 840 | * support enabled */ |
841 | #ifdef BATTERY_CAPACITY_DEFAULT | 841 | #if BATTERY_CAPACITY_DEFAULT > 0 |
842 | /* define min/max/inc for this file if there's only one battery */ | 842 | /* define min/max/inc for this file if there's only one battery */ |
843 | #ifndef BATTERY_CAPACITY_MIN | 843 | #ifndef BATTERY_CAPACITY_MIN |
844 | #define BATTERY_CAPACITY_MIN BATTERY_CAPACITY_DEFAULT | 844 | #define BATTERY_CAPACITY_MIN BATTERY_CAPACITY_DEFAULT |