Similar fix to sleep example

pull/260/head
Mike Bell 2022-03-02 21:19:32 +00:00
rodzic d26bb1701c
commit 17a1efe962
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -54,6 +54,10 @@ int main() {
badger.text("(press any button to wake up.)", 10, 70, 0.4f);
badger.update();
while (badger.is_busy()) {
sleep_ms(10);
}
badger.halt();
// proof we halted, the LED will not turn on