mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[quiz/runner] For device, sleep after the tests have properly finished
This commit is contained in:
@@ -42,6 +42,10 @@ ifeq ("$(origin V)", "command line")
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ("$(PLATFORM)", "device")
|
||||
SFLAGS += -DPLATFORM_DEVICE
|
||||
endif
|
||||
|
||||
# Host detection
|
||||
ifeq ($(OS),Windows_NT)
|
||||
HOST = windows
|
||||
|
||||
@@ -24,8 +24,14 @@ static inline void ion_main_inner() {
|
||||
i++;
|
||||
}
|
||||
quiz_print("ALL TESTS FINISHED");
|
||||
#ifdef PLATFORM_DEVICE
|
||||
while (1) {
|
||||
Ion::Timing::msleep(100000);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void ion_main(int argc, const char * const argv[]) {
|
||||
// Initialize the backlight
|
||||
Ion::Backlight::init();
|
||||
|
||||
Reference in New Issue
Block a user