diff options
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 3644e64..0bb7262 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -794,7 +794,7 @@ struct plugin_api { int (*battery_level)(void); bool (*battery_level_safe)(void); int (*battery_time)(void); -#if (CONFIG_PLATFORM & PLATFORM_NATIVE) +#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(SAMSUNG_YPR0) unsigned int (*battery_voltage)(void); #endif #if CONFIG_CHARGING |