[sky9x] RTC Clock on FAT (not tested)

[gruvin9x] RTC Menu redesigned
[stock] ~50bytes flash saved
This commit is contained in:
bsongis
2012-10-01 19:58:10 +00:00
parent 18f06e8395
commit 002447dbb5
18 changed files with 855 additions and 810 deletions
+2 -2
View File
@@ -161,10 +161,10 @@ void per10ms()
Tenms |= 1 ; // 10 mS has passed
#endif
#if defined (PCBV4) && defined(SDCARD)
#if defined(RTCLOCK)
/* Update gloabal Date/Time every 100 per10ms cycles */
if (++g_ms100 == 100) {
g_unixTime++; // inc global unix timestamp one second
g_rtcTime++; // inc global unix timestamp one second
g_ms100 = 0;
}
#endif