0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

battery current rename

This commit is contained in:
OneOfEleven
2023-10-10 10:52:57 +01:00
parent 47357fb113
commit b19be17f01
9 changed files with 21 additions and 21 deletions

View File

@ -22,8 +22,8 @@
#include "ui/ui.h"
uint16_t g_battery_calibration[6];
uint16_t g_battery_current_voltage;
uint16_t g_battery_current;
uint16_t g_usb_current_voltage;
uint16_t g_usb_current;
uint16_t g_battery_voltages[4];
uint16_t g_battery_voltage_average;
uint8_t g_battery_display_level;
@ -109,7 +109,7 @@ void BATTERY_GetReadings(const bool bDisplayBatteryLevel)
if ((g_screen_to_display == DISPLAY_MENU) && g_menu_cursor == MENU_VOL)
g_update_display = true;
if (g_battery_current < 501)
if (g_usb_current < 501)
{
if (g_charging_with_type_c)
{