Created
July 15, 2020 20:22
-
-
Save bobmcwhirter/733d88e6d79d94e8d87c102795585aab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[idle] | |
fn idle(ctx: idle::Context) -> ! { | |
let mut i = 0; | |
loop { | |
if ( i == 800_000 ) { | |
rprintln!("idle"); | |
i = 0; | |
} else { | |
i += 1; | |
} | |
continue; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment