Index: RTC.c =================================================================== diff -u -r900bc5e3b8eea32d193f457ba9abccc7fc929705 -r9e60eaa3f9b152acef1fa1c99bea1fc255813f59 --- RTC.c (.../RTC.c) (revision 900bc5e3b8eea32d193f457ba9abccc7fc929705) +++ RTC.c (.../RTC.c) (revision 9e60eaa3f9b152acef1fa1c99bea1fc255813f59) @@ -231,7 +231,7 @@ * @param none * @return none *************************************************************************/ -void setRTCTimestamp( U08 secs, U08 mins, U08 hours, U08 days, U08 months, U16 years ) +void setRTCTimestamp( U08 secs, U08 mins, U08 hours, U08 days, U08 months, U32 years ) { hasWriteToRTCRequested = TRUE; txBuffer[ 0 ] = RTC_WRITE_TO_REG0; @@ -245,13 +245,6 @@ txBuffer[ 8 ] = convertDecimal2BCD( 0 ); // Weekdays will not be used txBuffer[ 9 ] = convertDecimal2BCD( months ); txBuffer[ 10 ] = convertDecimal2BCD( years - YEAR_2000 ); - /*txBuffer[ 4 ] = ( secs ); - txBuffer[ 5 ] = ( mins ); - txBuffer[ 6 ] = ( hours ); - txBuffer[ 7 ] = ( days ); - txBuffer[ 8 ] = ( 0 ); // Weekdays will not be used - txBuffer[ 9 ] = ( months ); - txBuffer[ 10 ] = ( years - YEAR_2000 ); */ } /*************************************************************************