]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/date.c
put weekdays[] in flash, workaround for wrong weekday display
[z180-stamp.git] / avr / date.c
index c85361f5085375a73a1cf14867bceed58c69969f..5caee2fb52819d9e1262e4d2b015032588ae5868 100644 (file)
@@ -23,7 +23,7 @@
 #define        days_in_month(a)        (month_days[(a) - 1])
 
 
-static const FLASH int MonthOffset[] = { 
+static const FLASH int MonthOffset[] = {
        0,31,59,90,120,151,181,212,243,273,304,334
 };
 
@@ -136,4 +136,3 @@ mktime (unsigned int year, unsigned int mon,
          )*60 + min /* now have minutes */
        )*60 + sec; /* finally seconds */
 }
-