Make wait_for_vblank syscall pub(crate)

This commit is contained in:
Gwilym Kuiper 2023-01-12 21:24:37 +00:00
parent ba8655070d
commit 827afd87b9

View file

@ -56,7 +56,7 @@ pub fn wait_for_interrupt() {
/// The vblank interrupt handler [VBlank][crate::interrupt::VBlank] should be /// The vblank interrupt handler [VBlank][crate::interrupt::VBlank] should be
/// used instead of calling this function directly. /// used instead of calling this function directly.
pub fn wait_for_vblank() { pub(crate) fn wait_for_vblank() {
unsafe { unsafe {
asm!( asm!(
"swi {SWI}", "swi {SWI}",