mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 22:58:04 +03:00
Renamed lots more
This commit is contained in:
@ -20,21 +20,19 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
extern uint16_t gBatteryCalibration[6];
|
||||
extern uint16_t gBatteryCurrentVoltage;
|
||||
extern uint16_t gBatteryCurrent;
|
||||
extern uint16_t gBatteryVoltages[4];
|
||||
extern uint16_t gBatteryVoltageAverage;
|
||||
extern uint8_t gBatteryDisplayLevel;
|
||||
extern bool gChargingWithTypeC;
|
||||
extern bool gLowBattery;
|
||||
extern bool gLowBatteryBlink;
|
||||
extern uint16_t gBatteryCheckCounter;
|
||||
|
||||
extern volatile uint16_t gPowerSave_10ms;
|
||||
extern uint16_t g_battery_calibration[6];
|
||||
extern uint16_t g_battery_current_voltage;
|
||||
extern uint16_t g_battery_current;
|
||||
extern uint16_t g_battery_voltages[4];
|
||||
extern uint16_t g_battery_voltage_average;
|
||||
extern uint8_t g_battery_display_level;
|
||||
extern bool g_charging_with_type_c;
|
||||
extern bool g_low_battery;
|
||||
extern bool g_low_battery_blink;
|
||||
extern uint16_t g_battery_check_counter;
|
||||
extern volatile uint16_t g_power_save_10ms;
|
||||
|
||||
unsigned int BATTERY_VoltsToPercent(const unsigned int voltage_10mV);
|
||||
void BATTERY_GetReadings(const bool bDisplayBatteryLevel);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user