add sleep

This commit is contained in:
PoliEcho 2026-04-24 17:00:52 +02:00
parent c71a162d86
commit 500c93a6fd

View File

@ -1,4 +1,5 @@
#include <hardware/irq.h>
#include <pico/time.h>
#include <sys/types.h>
#include <stdbool.h>
#include <stdint.h>
@ -59,6 +60,7 @@ __attribute__((noreturn))
void core1_main(void) {
while (1) {
update_buttons();
sleep_ms(1);
}
}