mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 15:08:37 +03:00
Fixed error I made in makefile (python call now works - IF you have python installed)
This commit is contained in:
25
app/app.c
25
app/app.c
@ -56,6 +56,7 @@
|
||||
#endif
|
||||
#include "ui/battery.h"
|
||||
#include "ui/inputbox.h"
|
||||
#include "ui/main.h"
|
||||
#include "ui/menu.h"
|
||||
#include "ui/rssi.h"
|
||||
#include "ui/status.h"
|
||||
@ -389,6 +390,9 @@ static void APP_HandleFunction(void)
|
||||
if (!gRxIdleMode)
|
||||
APP_CheckForIncoming();
|
||||
break;
|
||||
|
||||
case FUNCTION_BAND_SCOPE:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1515,16 +1519,33 @@ void APP_TimeSlice10ms(void)
|
||||
APP_CheckRadioInterrupts();
|
||||
|
||||
if (gCurrentFunction != FUNCTION_TRANSMIT)
|
||||
{
|
||||
{ // receiving
|
||||
if (gUpdateStatus)
|
||||
UI_DisplayStatus(false);
|
||||
|
||||
if (gUpdateDisplay)
|
||||
{
|
||||
GUI_DisplayScreen();
|
||||
gUpdateDisplay = false;
|
||||
GUI_DisplayScreen();
|
||||
}
|
||||
}
|
||||
else
|
||||
{ // transmitting
|
||||
#ifdef ENABLE_AUDIO_BAR
|
||||
if (gSetting_mic_bar && (gFlashLightBlinkCounter % (100 / 10)) == 0) // once every 100ms
|
||||
UI_DisplayAudioBar();
|
||||
//gUpdateDisplay = true;
|
||||
#endif
|
||||
|
||||
if (gUpdateDisplay)
|
||||
{
|
||||
gUpdateDisplay = false;
|
||||
GUI_DisplayScreen();
|
||||
}
|
||||
|
||||
if (gUpdateStatus)
|
||||
UI_DisplayStatus(false);
|
||||
}
|
||||
|
||||
// Skipping authentic device checks
|
||||
|
||||
|
Reference in New Issue
Block a user