Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -r609937ae79b4b77a0bd9ac180d38425b0b6922fb -r53165945d15dd7a30b3d194573507cbd31e5314f --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 609937ae79b4b77a0bd9ac180d38425b0b6922fb) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision 53165945d15dd7a30b3d194573507cbd31e5314f) @@ -49,47 +49,6 @@ // manage data received from other sub-systems //execSystemCommRx(); - // FOR DEBUGGING PURPOSES ONLY REMOVE - // PLEASE DO NOT REVIEW THIS CODE - // Used 120 and 200 so it will not read or write during POST - /*static U16 test = 0; - RTC_RAM_STATUS_T status = getRTCRAMStatus(); - RTC_RAM_STATE_T state = getRTCRAMState(); - static U16 returndata[5]; - static BOOL readRAM = FALSE; - static U16 data[5]; - - if ( test >=120 && test%120 == 0 ) - { - if ( state == RTC_RAM_STATE_READY ) - { - U16 test1 = test/10; - data[0] = test1; - data[1] = test1+1; - data[2] = test1+2; - data[3] = test1+3; - data[4] = test1+4; - status = writeToRAM(122, &data[0], 5); - } - } - - if ( test >= 120 && test%133 == 0 ) - { - if ( state == RTC_RAM_STATE_READY ) - { - readFromRAM(122, 5); - readRAM = TRUE; - } - } - else if ( status == RTC_RAM_STATUS_IDLE && readRAM) - { - getDataFromRAM(&returndata[0], 5); - readRAM = FALSE; - } - test++; */ - // FOR DEBUGGING PURPOSES ONLY REMOVE - // PLEASE DO NOT REVIEW THIS CODE - // Control RTC // After CommRx and and before execOperationModes() execRTC();