Fix compilation errors when UART is disabled

This commit is contained in:
Juan Antonio authored and egzumer committed 2023-12-14 22:03:44 +01:00
1 parent 80fa310646
commit 9dc79ce868
7 files changed
+64 -51

No files matched your search

+2 -1
View File
@@ -143,13 +143,14 @@ void UI_DisplayLock(void)
gKeyReading0 = Key;
}
#ifdef ENABLE_UART
if (UART_IsCommandAvailable())
{
__disable_irq();
UART_HandleCommand();
__enable_irq();
}
#endif
if (gUpdateDisplay)
{
Render();