|
|
| version 1.1.1.1, 2003/10/16 17:57:06 | version 1.3, 2004/02/18 20:11:36 |
|---|---|
| Line 8 | Line 8 |
| _CALENDAR cal; | _CALENDAR cal; |
| static const BYTE days[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; | static const UINT8 days[12] = { 31, 28, 31, 30, 31, 30, |
| 31, 31, 30, 31, 30, 31}; | |
| static void secinc(_SYSTIME *dt) { | static void secinc(_SYSTIME *dt) { |
| Line 25 static void secinc(_SYSTIME *dt) { | Line 26 static void secinc(_SYSTIME *dt) { |
| goto secinc_exit; | goto secinc_exit; |
| } | } |
| dt->minute = 0; | dt->minute = 0; |
| dt->hour = 0; | dt->hour++; |
| if (dt->hour < 24) { | if (dt->hour < 24) { |
| goto secinc_exit; | goto secinc_exit; |
| } | } |