Skip to content

Instantly share code, notes, and snippets.

@Bloofer
Created February 27, 2019 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bloofer/4e7379c7600794fda82da29826d9384d to your computer and use it in GitHub Desktop.
Save Bloofer/4e7379c7600794fda82da29826d9384d to your computer and use it in GitHub Desktop.
using volatile
static volatile int foo;
void bar (void)
{
foo = 0;
while (foo != 255);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment