mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[usb] Use proper function to scan registers.
Change-Id: I37f0f8ce105c7791fa8890013d672cca7dff4126
This commit is contained in:
@@ -6,7 +6,7 @@ void ion_main(int argc, char * argv[]) {
|
||||
Ion::Display::pushRectUniform(KDRect(0,0,Ion::Display::Width,Ion::Display::Height), KDColor::RGB24(0xFFFF00));
|
||||
while (true) {
|
||||
Ion::USB::enable();
|
||||
while (!OTG.GINTSTS()->getENUMDNE()) {
|
||||
while (!Ion::USB::isEnumerated()) {
|
||||
}
|
||||
Ion::USB::Device::Calculator::PollAndReset(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user