forked from AbleOS/ableos
stn sleep_till_interrupt function
This commit is contained in:
parent
5a9fe9a0bd
commit
6534340a86
|
@ -3,4 +3,5 @@ subscribe_to_interrupt := fn(interrupt_number: u8): bool {
|
||||||
}
|
}
|
||||||
// Pauses execution until the interrupt occures
|
// Pauses execution until the interrupt occures
|
||||||
sleep_until_interrupt := fn(interrupt_number: u8): void {
|
sleep_until_interrupt := fn(interrupt_number: u8): void {
|
||||||
|
@eca(6, 32);
|
||||||
}
|
}
|
Loading…
Reference in a new issue