Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bobmcwhirter/733d88e6d79d94e8d87c102795585aab to your computer and use it in GitHub Desktop.
Save bobmcwhirter/733d88e6d79d94e8d87c102795585aab to your computer and use it in GitHub Desktop.
#[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