DWORD get_fattime ()
{
- // ToDo!
- return 0;
+ DWORD tmr = 0;
+
+ // tmr = (((DWORD)rtcYear - 80) << 25)
+ // | ((DWORD)rtcMon << 21)
+ // | ((DWORD)rtcMday << 16)
+ // | (WORD)(rtcHour << 11)
+ // | (WORD)(rtcMin << 5)
+ // | (WORD)(rtcSec >> 1);
+
+ return tmr;
}
#endif
return result;
}
-#endif
\ No newline at end of file
+#endif