Update USBPDDebug_HUSB238.cpp
This commit is contained in:
@@ -44,13 +44,14 @@ OperatingMode showPDDebug(const ButtonState buttons, guiContext *cxt) {
|
|||||||
OLED::refresh();
|
OLED::refresh();
|
||||||
b = getButtonState();
|
b = getButtonState();
|
||||||
if (b == BUTTON_B_SHORT) {
|
if (b == BUTTON_B_SHORT) {
|
||||||
return;
|
return OperatingMode::InitialisationDone;
|
||||||
} else if (b == BUTTON_F_SHORT) {
|
} else if (b == BUTTON_F_SHORT) {
|
||||||
screen++;
|
screen++;
|
||||||
}
|
}
|
||||||
|
|
||||||
GUIDelay();
|
GUIDelay();
|
||||||
}
|
}
|
||||||
|
return OperatingMode::UsbPDDebug;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user