OpenSeaMap / logger-oseam-0183

Hardware-logger with 2 channels for NMEA-0183 devices, one channel switchable to Seatalk
http://depth.openseamap.org/logger-bestellen
Apache License 2.0
3 stars 3 forks source link

fix 256 DATA file limit #35

Closed Github6am closed 9 years ago

Github6am commented 9 years ago

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.