Index: RTC.c =================================================================== diff -u -r1b53e0ea50bed8f2155aec6e9c888a4b776b0edc -r9f52ecfab3f14d3b1e2085c2f0424a18a93b243c --- RTC.c (.../RTC.c) (revision 1b53e0ea50bed8f2155aec6e9c888a4b776b0edc) +++ RTC.c (.../RTC.c) (revision 9f52ecfab3f14d3b1e2085c2f0424a18a93b243c) @@ -176,7 +176,6 @@ static U32 RAMBufferLength = 0; static U32 lastEpochTime = 0; // Last value that has been converted to epoch static U32 previousTransferLength = 0; -static U32 RTCPublishIntervalCounter = 1; static U32 timeCounter = 1; static U32 numberOfFailedRTCTransfers = 1; @@ -989,7 +988,7 @@ { result = RTC_EXEC_STATE_PREP_RAM; } - else if ( (timeCounter == TIMER_COUNTER_TO_REQUEST_READ) ) + else if ( timeCounter == TIMER_COUNTER_TO_REQUEST_READ ) { prepBufferForReadCommand( RTC_GENERAL_BUFFER_LENGTH ); result = RTC_EXEC_STATE_READ;