Hi FED3ers,
We are trying to change the max retrieval latency to 180 sec from 60 sec and edited the 3 places in the fed3.cpp file (as an .ino file) to 180000.
However, when we try to compile it, we receive the following error. We also receive this if we are using Arduino 2.1.00. Can anyone advise how to fix?
Error compiling for board Adafruit Feather M0 (SAMD21)
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFileLFN.cpp: In member function 'bool FatFile::open(FatFile*, fname_t*, oflag_t)':
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFileLFN.cpp:478:16: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
478 | m_dateTime(&dir->creationDate, &dir->creationTime);
| ^~~~~~~~~~~~~~~~~~
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFileLFN.cpp:478:16: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFileLFN.cpp:478:36: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
478 | m_dateTime(&dir->creationDate, &dir->creationTime);
| ^~~~~~~~~~~~~~~~~~
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFileLFN.cpp:478:36: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFile.cpp: In member function 'bool FatFile::sync()':
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFile.cpp:1219:18: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
1219 | m_dateTime(&dir->lastWriteDate, &dir->lastWriteTime);
| ^~~~~~~~~~~~~~~~~~~
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFile.cpp:1219:18: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFile.cpp:1219:39: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
1219 | m_dateTime(&dir->lastWriteDate, &dir->lastWriteTime);
| ^~~~~~~~~~~~~~~~~~~
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\SdFat\src\FatLib\FatFile.cpp:1219:39: warning: taking address of packed member of 'directoryEntry' may result in an unaligned pointer value [-Waddress-of-packed-member]
C:\Users\Zorrilla Lab\Documents\Arduino\libraries\Adafruit_SHARP_Memory_Display\Adafruit_SharpMem.cpp: In member function 'void Adafruit_SharpMem::clearDisplay()':