Added new variables.

This commit is contained in:
Dual Tachyon 2023-08-24 13:55:40 +01:00
parent f7dde17efb
commit 7f2033fb58
3 changed files with 7 additions and 3 deletions

2
gui.c
View File

@ -510,7 +510,7 @@ static void DisplayMain(void)
uint8_t i;
memset(gFrameBuffer, 0, sizeof(gFrameBuffer));
if (gEeprom.KEY_LOCK && g_200003A9) {
if (gEeprom.KEY_LOCK && gKeypadLocked) {
GUI_PrintString("Long Press #", 0, 127, 1, 8, true);
GUI_PrintString("To Unlock", 0, 127, 3, 8, true);
ST7565_BlitFullScreen();

4
misc.c
View File

@ -69,7 +69,7 @@ volatile uint8_t g_20000381;
uint8_t g_20000382;
uint8_t g_20000383;
uint16_t g_2000038E;
uint8_t g_200003A9;
uint8_t gKeypadLocked;
uint8_t g_200003AA;
bool g_CDCSS_Lost;
bool g_CTCSS_Lost;
@ -104,11 +104,13 @@ uint8_t g_2000045C;
uint8_t g_20000461;
uint8_t g_20000464;
uint8_t g_20000474;
char g_20000D1C[15];
char gDTMF_Received[16];
bool gIsDtmfContactValid;
char gDTMF_ID[4];
char gDTMF_Contact0[4];
char gDTMF_Contact1[4];
uint8_t g_CalloutAndDTMF_State;
bool gIs_A_Scan;
bool gIsNoaaMode;

4
misc.h
View File

@ -72,7 +72,7 @@ extern volatile uint8_t g_20000381;
extern uint8_t g_20000382;
extern uint8_t g_20000383;
extern uint16_t g_2000038E;
extern uint8_t g_200003A9;
extern uint8_t gKeypadLocked;
extern uint8_t g_200003AA;
extern bool g_CDCSS_Lost;
extern bool g_CTCSS_Lost;
@ -108,11 +108,13 @@ extern uint8_t g_20000461;
extern uint8_t g_20000464;
extern uint8_t gFSKWriteIndex;
extern uint8_t g_20000474;
extern char g_20000D1C[15];
extern char gDTMF_Received[16];
extern bool gIsDtmfContactValid;
extern char gDTMF_ID[4];
extern char gDTMF_Contact0[4];
extern char gDTMF_Contact1[4];
extern uint8_t g_CalloutAndDTMF_State;
extern bool gIs_A_Scan;
extern bool gIsNoaaMode;