atmel-samd: Correct fake date for FAT. Hopefully it'll be in 2016 now.
This commit is contained in:
parent
0ba9aee428
commit
bb9c751b50
@ -42,5 +42,5 @@ const PARTITION VolToPart[MICROPY_FATFS_VOLUMES] = {
|
||||
|
||||
DWORD get_fattime(void) {
|
||||
// TODO(tannewt): Support the RTC.
|
||||
return ((2016) << 25) | ((9) << 21) | ((1) << 16) | ((16) << 11) | ((43) << 5) | (35 / 2);
|
||||
return ((2016 - 1980) << 25) | ((9) << 21) | ((1) << 16) | ((16) << 11) | ((43) << 5) | (35 / 2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user