mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Bsongis/gui refactoring for x7 d (#3701)
* [X7D] New board added * Cosmetics
This commit is contained in:
parent
282b856309
commit
d3ae3c035d
233 changed files with 7472 additions and 4560 deletions
|
@ -26,7 +26,7 @@ uint8_t requestScreenshot = false;
|
|||
|
||||
void handleUsbConnection()
|
||||
{
|
||||
#if defined(CPUSTM32) && !defined(SIMU)
|
||||
#if defined(STM32) && !defined(SIMU)
|
||||
static bool usbStarted = false;
|
||||
|
||||
if (!usbStarted && usbPlugged()) {
|
||||
|
@ -65,7 +65,7 @@ void handleUsbConnection()
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif // defined(CPUSTM32) && !defined(SIMU)
|
||||
#endif // defined(STM32) && !defined(SIMU)
|
||||
}
|
||||
|
||||
void checkSpeakerVolume()
|
||||
|
@ -349,18 +349,6 @@ void guiMain(event_t evt)
|
|||
menuVerticalPosition = (menuEvent == EVT_ENTRY_UP) ? menuVerticalPositions[menuLevel] : 0;
|
||||
menuHorizontalPosition = 0;
|
||||
evt = menuEvent;
|
||||
if (menuEvent == EVT_ENTRY_UP) {
|
||||
TRACE("menuEvent EVT_ENTRY_UP");
|
||||
}
|
||||
// else if (menuEvent == EVT_MENU_UP) {
|
||||
// TRACE("menuEvent EVT_MENU_UP");
|
||||
// }
|
||||
else if (menuEvent == EVT_ENTRY) {
|
||||
TRACE("menuEvent EVT_ENTRY");
|
||||
}
|
||||
else {
|
||||
TRACE("menuEvent 0x%02x", menuEvent);
|
||||
}
|
||||
menuEvent = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue