embedded/projects/step-example/simulated_platform.c
void Platform_HandleErrorIf(char isError, const char* msg) {

  if(isError) {
    PRINTF("**ERROR: %s\r\n", msg);
    exit(-1);
  }
}
// this simulation can just quit on errors
this simulation can just quit on errors
this simulation can just quit on errors
void Platform_HandleErrorIf(char isError, const char* msg) {
  if(isError) {
    PRINTF("**ERROR: %s\r\n", msg);
    exit(-1);
  }
}
void Platform_HandleErrorIf ( char isError , const char * msg ) { if ( isError ) { PRINTF ( " \r \n " , msg ) ; exit ( -1 ) ; } }
this simulation can just quit on errors
this simulation can just quit on errors