ableos/sysdata/libraries/stn/src/sleep.hb

7 lines
209 B
Plaintext
Raw Normal View History

2024-11-14 18:40:44 -06:00
subscribe_to_interrupt := fn(interrupt_number: u8): bool {
return false
}
// Pauses execution until the interrupt occures
sleep_until_interrupt := fn(interrupt_number: u8): void {
@eca(6, interrupt_number)
2024-11-14 18:40:44 -06:00
}