Use __WFI() instead of asm("wfi") for better readability.

This commit is contained in:
László Monda
2017-09-22 02:19:16 +02:00
parent 962705a017
commit 2227508130
2 changed files with 2 additions and 2 deletions

View File

@@ -40,6 +40,6 @@ int main(void)
#endif #endif
while (1) { while (1) {
KeyMatrix_Scan(&keyMatrix); KeyMatrix_Scan(&keyMatrix);
asm("wfi"); __WFI();
} }
} }

View File

@@ -99,7 +99,7 @@ void main() {
IsConfigInitialized = true; IsConfigInitialized = true;
} }
UpdateUsbReports(); UpdateUsbReports();
asm("wfi"); __WFI();
} }
} }
} }