|
|
| version 1.1, 2005/02/07 16:56:32 | version 1.2, 2005/02/26 03:59:50 |
|---|---|
| Line 18 BOOL timemng_gettime(_SYSTIME *systime) | Line 18 BOOL timemng_gettime(_SYSTIME *systime) |
| systime->minute = ByteSwap32(now_time[0]) & 0xffff; | systime->minute = ByteSwap32(now_time[0]) & 0xffff; |
| systime->second = ByteSwap16(now_time[0] & 0xffff); | systime->second = ByteSwap16(now_time[0] & 0xffff); |
| systime->milli = 0; | systime->milli = 0; |
| /* | |
| systime->year = ByteSwap16(now_time.year); | |
| systime->month = ByteSwap16(now_time.month); | |
| systime->week = ByteSwap16(now_time.weekDay); | |
| systime->day = ByteSwap16(now_time.day); | |
| systime->hour = ByteSwap16(now_time.hour); | |
| systime->minute = ByteSwap16(now_time.minute); | |
| systime->second = ByteSwap16(now_time.second); | |
| */ | |
| return(SUCCESS); | return(SUCCESS); |
| } | } |