Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -r23ebecb91f2a05526f691b611d6c1862426f171d -r408e6e577818831b985f28e6bf777cd9f65b9849 --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 23ebecb91f2a05526f691b611d6c1862426f171d) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 408e6e577818831b985f28e6bf777cd9f65b9849) @@ -50,26 +50,26 @@ //execSystemCommRx(); // FOR DEBUGGING PURPOSES ONLY REMOVE - // Used 120 and 200 so it will not read or - // write during POST + // PLEASE DO NOT REVIEW THIS CODE + // Used 120 and 200 so it will not read or write during POST static U16 test = 0; static RTC_RAM_STATUS_T status; static U16 returndata[5]; if (test >= 120) { - if ( status != RTC_RAM_IN_PROGRESS ) + if ( status != RTC_RAM_STATUS_IN_PROGRESS ) { static U16 data[5] = {17, 18, 19, 10, 22}; status = writeToRAM(119, &data[0], 5); } - else if ( status == RTC_RAM_IN_PROGRESS ) + else if ( status == RTC_RAM_STATUS_IN_PROGRESS ) { - status = getRTCRAMStatus(); + status = getRTCRAMState(); } else { test = 0; - status = RTC_RAM_READY; + //status = RTC_RAM_READY; } } if (test == 200) @@ -86,6 +86,7 @@ }*/ test++; // FOR DEBUGGING PURPOSES ONLY REMOVE + // PLEASE DO NOT REVIEW THIS CODE // Control RTC // After CommRx and and before execOperationModes()