Engleski nazivi dana u tjednu su zamijenjeni kraticama dana u tjednu na hrvatskom jeziku.
Dependents: SUSTAV_KONTROLE_PRISTUPA
Diff: Rtc_Ds1307.cpp
- Revision:
- 12:67d9685eaeb0
- Parent:
- 11:ccfd683953ae
- Child:
- 13:d1de45595c90
diff -r ccfd683953ae -r 67d9685eaeb0 Rtc_Ds1307.cpp --- a/Rtc_Ds1307.cpp Thu May 25 15:32:11 2017 +0000 +++ b/Rtc_Ds1307.cpp Mon Jan 20 13:01:21 2020 +0000 @@ -2,11 +2,11 @@ #include "Rtc_Ds1307.h" #ifndef DEBUG -//#define DEBUG +#define DEBUG #endif #include "debug.h" -const char *Rtc_Ds1307::m_weekDays[] = { "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" }; +const char *Rtc_Ds1307::m_weekDays[] = { "Ponedjeljak", "Utorak", "Srijeda", "Cetvrtak", "Petak", "Subota", "Nedjelja" }; Rtc_Ds1307::Rtc_Ds1307(PinName sda, PinName scl) @@ -63,7 +63,6 @@ char buffer[7]; bool thm = false; - INFO("Getting time from RTC\n"); if (!read(0, buffer, 7) ) { // Failed to read ERR("Failed to read from RTC\n"); @@ -178,7 +177,6 @@ } m_rtc->stop(); - INFO("Successfully read %d registers from RTC\n", len); return true; }