my programm rtc_class with functions in Date.cpp

Dependencies:   mbed

Fork of rtc_func by HIMBED_3AHELI

Revision:
3:75f5352b387d
Parent:
2:ce174a86d215
diff -r ce174a86d215 -r 75f5352b387d Date.cpp
--- a/Date.cpp	Thu Apr 23 09:42:34 2015 +0000
+++ b/Date.cpp	Thu Apr 30 10:53:00 2015 +0000
@@ -25,7 +25,7 @@
     uint8_t year = rtc_read(YEARS);
     return bcdToUint(year & 0x3F);
 }
-uint8_t Date::GetWEEK()
+uint8_t Date::GetWeek()
 {
     uint8_t week = rtc_read(WEEKDAYS);
     return bcdToUint(week & 0x07);