When running the logger for more than 1 week, the SD card will contain more than 256 DATA files.
Unfortunately all successor files only contain a few bytes of data. Rapidly the 9999 files will be used up without continuously capturing data.
This fix simply changes the data type of the according variable from byte to word.
The actual fix was not properly tested yet.
Moreover, proper encoding of the OpenSeaMap/* files was done using arduino tools menu.
I recommend to do a clean encoding for all other folders in the future and take care of the
encoding by properly configuring the editor for LF line endings.
When running the logger for more than 1 week, the SD card will contain more than 256 DATA files. Unfortunately all successor files only contain a few bytes of data. Rapidly the 9999 files will be used up without continuously capturing data. This fix simply changes the data type of the according variable from byte to word. The actual fix was not properly tested yet. Moreover, proper encoding of the OpenSeaMap/* files was done using arduino tools menu. I recommend to do a clean encoding for all other folders in the future and take care of the encoding by properly configuring the editor for LF line endings.