Engleski nazivi dana u tjednu su zamijenjeni kraticama dana u tjednu na hrvatskom jeziku.
Dependents: SUSTAV_KONTROLE_PRISTUPA
Diff: Rtc_Ds1307.cpp
- Revision:
- 3:e89d63f3342e
- Parent:
- 2:ee81f2c5a706
- Child:
- 4:d2cc690aaac7
--- a/Rtc_Ds1307.cpp Wed Jun 05 20:42:37 2013 +0000 +++ b/Rtc_Ds1307.cpp Sun Jun 23 11:26:26 2013 +0000 @@ -1,19 +1,8 @@ /* Rtc_Ds1307.cpp */ #include "Rtc_Ds1307.h" - -#define _DEBUG 1 - - -#if (_DEBUG && !defined(TARGET_LPC11U24)) -#define INFO(x, ...) std::printf("[Rtc_Ds1307 : INFO]"x"\r\n", ##__VA_ARGS__); -#define WARN(x, ...) std::printf("[Rtc_Ds1307 : WARN]"x"\r\n", ##__VA_ARGS__); -#define ERR(x, ...) std::printf("[Rtc_Ds1307 : ERR]"x"\r\n", ##__VA_ARGS__); -#else -#define INFO(x, ...) -#define WARN(x, ...) -#define ERR(x, ...) -#endif +#define DEBUG +#include "debug.h" const char *Rtc_Ds1307::m_weekDays[] = { "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" };