atmel-samd: Correct fake date for FAT. Hopefully it'll be in 2016 now.

This commit is contained in:
Scott Shawcroft 2016-12-05 11:15:46 -08:00
parent 0ba9aee428
commit bb9c751b50

View File

@ -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);
}