I was using some variables that I needed to be volatile.
I accidentally typed the following without catching that i declared it backwards.
Code: Select all
bool volatile system_passed = false;
as it should have been:
Code: Select all
volatile bool system_passed = false;