1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/sysdata/programs/rtc_driver/src/main.hb

12 lines
167 B
Plaintext
Raw Normal View History

2024-12-22 20:58:28 -06:00
stn := @use("stn");
2024-12-01 06:45:34 -06:00
.{sleep, log, memory} := stn
main := fn(): int {
loop {
2024-12-22 20:58:28 -06:00
log.info("BEFORE")
2024-12-01 06:45:34 -06:00
sleep.sleep_until_interrupt(8)
2024-12-22 20:58:28 -06:00
log.info("AFTER")
2024-12-01 06:45:34 -06:00
}
return 0
}