All i did was go into my variables.h file and changed the following variable,, added the word state_ before them so it wasn't conflicting.
bool state_warn_low = false;
bool state_alarm_high = false;
bool state_alarm_low = false;
bool state_error = false;
bool state_no_readings = false;
bool state_normal_range = false;
And i did change one more thing sorry, to get it to build i changed
printf("enum value: %d\n", i);
playWav(i, 50);
to
printf("enum value: %d\n", i);
//playWav(i, 50);
so I was able to build. However im now in a loop cycle as my device is trying to figure out how to play the file in the enum....