Index: NVDataMgmt.c =================================================================== diff -u -r58e321f3c730e0d302ed479d6939ef9ac2a753d0 -rd142a0185a81e3b70ac7db8f0ca1b6883d5ea629 --- NVDataMgmt.c (.../NVDataMgmt.c) (revision 58e321f3c730e0d302ed479d6939ef9ac2a753d0) +++ NVDataMgmt.c (.../NVDataMgmt.c) (revision d142a0185a81e3b70ac7db8f0ca1b6883d5ea629) @@ -2477,7 +2477,7 @@ writtenRecordStatus = NVDATAMGMT_RECORD_NOT_CHECKED; // Issue the write command - Fapi_issueProgrammingCommand( (U32*)memoryPtr, structPtr, jobSpecs.maxWriteBufferSize, 0x00, 0, Fapi_DataOnly ); + Fapi_issueProgrammingCommand ( (U32*)memoryPtr, structPtr, jobSpecs.maxWriteBufferSize, 0x00, 0, Fapi_DataOnly ); } } } @@ -3384,12 +3384,13 @@ dgServiceGroup.dgServiceRecord.serviceIntervalSeconds = RECORD_DEFAULT_SERVICE_INTERVAL_S; // Recalculate the CRC with the default values dgServiceGroup.dgServiceRecord.crc = crc16 ( (U08*)&dgServiceGroup.dgServiceRecord, sizeof(DG_SERVICE_RECORD_T) - sizeof(U16) ); - +#ifndef DISABLE_SERVICE_RECORD // Service record failure is also considered as RTC RAM failure - //activateAlarmNoData( ALARM_ID_DG_INVALID_SERVICE_RECORD_CRC ); // TODO DEBUG_DENALI + activateAlarmNoData( ALARM_ID_DG_INVALID_SERVICE_RECORD_CRC ); // Set the to FALSE since the record is not valid - //status = FALSE; // TODO DEBUG_DENALI + status = FALSE; +#endif } return status;