Don't display mic bar over low the battery popup
This commit is contained in:
@@ -76,6 +76,9 @@ void UI_DisplayAudioBar(void)
|
|||||||
{
|
{
|
||||||
if (gSetting_mic_bar)
|
if (gSetting_mic_bar)
|
||||||
{
|
{
|
||||||
|
if(gLowBattery && !gLowBatteryConfirmed)
|
||||||
|
return;
|
||||||
|
|
||||||
const unsigned int line = 3;
|
const unsigned int line = 3;
|
||||||
const unsigned int bar_x = 2;
|
const unsigned int bar_x = 2;
|
||||||
const unsigned int bar_width = LCD_WIDTH - 2 - bar_x;
|
const unsigned int bar_width = LCD_WIDTH - 2 - bar_x;
|
||||||
|
Reference in New Issue
Block a user