[ion] The flasher starts on a yellow screen

This commit is contained in:
Romain Goyet
2018-04-09 13:37:11 +02:00
parent 5155957c5a
commit d0dff5e7fe

View File

@@ -3,6 +3,7 @@
#include <ion.h>
void ion_main(int argc, char * argv[]) {
Ion::Display::pushRectUniform(KDRect(0,0,Ion::Display::Width,Ion::Display::Height), KDColorYellow);
while (true) {
Ion::USB::enable();
while (!OTG.GINTSTS()->getENUMDNE()) {