This repository has been archived on 2026-01-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
iBoot/platform/defaults/target_get_boot_battery_capacity.c
2023-07-08 13:03:17 -07:00

13 lines
270 B
C

#if WITH_HW_POWER && WITH_TARGET_CONFIG
#include <limits.h>
#include <target/powerconfig.h>
#include <target.h>
#ifdef TARGET_BOOT_BATTERY_CAPACITY
int target_get_boot_battery_capacity(void)
{
return TARGET_BOOT_BATTERY_CAPACITY;
}
#endif
#endif // WITH_TARGET_CONFIG