mirror of
https://github.com/sparkfun/OpenLog.git
synced 2024-09-20 00:50:14 +00:00
Increase MAX_CFG length to allow larger escape char values.
Increase length of max config string from 2 chars (14) to 3 chars (214).
This commit is contained in:
parent
324679495a
commit
e391f1fbff
@ -218,7 +218,7 @@ char folderTree[FOLDER_TRACK_DEPTH][12];
|
||||
|
||||
#define CFG_FILENAME "config.txt" //This is the name of the file that contains the unit settings
|
||||
|
||||
#define MAX_CFG "115200,103,14,0,1,1,0\0" //= 115200 bps, escape char of ASCII(103), 14 times, new log mode, verbose on, echo on, ignore RX false.
|
||||
#define MAX_CFG "115200,103,214,0,1,1,0\0" //= 115200 bps, escape char of ASCII(103), 214 times, new log mode, verbose on, echo on, ignore RX false.
|
||||
#define CFG_LENGTH (strlen(MAX_CFG) + 1) //Length of text found in config file. strlen ignores \0 so we have to add it back
|
||||
#define SEQ_FILENAME "SEQLOG00.TXT" //This is the name for the file when you're in sequential mode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user