Index: RTC.c =================================================================== diff -u -r6a9ae685a7ea221e89b1f20a7ff67154b84ad5ca -r651201a1d12251185f6bbc0aa33e4577a2048922 --- RTC.c (.../RTC.c) (revision 6a9ae685a7ea221e89b1f20a7ff67154b84ad5ca) +++ RTC.c (.../RTC.c) (revision 651201a1d12251185f6bbc0aa33e4577a2048922) @@ -722,8 +722,8 @@ *************************************************************************/ static BOOL isRTCFunctional( void ) { -#ifndef DISABLE_RTC_CONFIG BOOL hasTestPassed = TRUE; +#ifndef DISABLE_RTC_CONFIG U16 controlReg1 = rxBuffer[ RTC_REG_1_INDEX ]; U16 controlReg2 = rxBuffer[ RTC_REG_2_INDEX ]; U16 controlReg3 = rxBuffer[ RTC_REG_3_INDEX ]; @@ -770,8 +770,8 @@ hasTestPassed = FALSE; } - return hasTestPassed; #endif + return hasTestPassed; } /*********************************************************************//**