Commit Graph

10 Commits

Author SHA1 Message Date
Nathan Seidle
bc12729f30 Terminate filename strings and increase any array by 1 that uses strcpy_P.
strcpy_P null terminates the provided string. strlen does not count \0s so any string that uses strcpy_P needs an extra byte for \0.
2021-10-12 15:00:08 -06:00
Nathan Seidle
795dc84f68 Typo fixes 2021-10-12 10:46:33 -06:00
Nathan Seidle
edf672ca49 Small changes to get rid of compiler warnings 2021-10-12 10:30:18 -06:00
EmbeddedMan
52bf9b1ce2 Adds support for new "Rotate" log mode (issue #244)
* Removed extra comments related to MAX_CFG (could be confusing to future developers)
* Added two new parameters to config file (Max Filesize and Max Filenumber, both only used in MODE_ROTATE)
* Added new mode (3) : MODE_ROTATE
* Added debug prints to help see max filesize and max filenumber (inside #if DEBUG)
* Commented out decrimenting newFileNumber when it is read from EEPROM
* Added three new entries to the 'set' menu:
*  4) - Sets mode to MODE_ROTATE
*  8) and 9) - sets the new Max Filesize and Max Filenumber config values
* Added code to print out max fileszie and file number at top of 'set' menu
* Updated 'set' menu strings to be more descriptive
* Fixed 'set' menu 7) (set number of escape characters) with new routine getSerialByte() to read in a 3 digit integer properly rather than a single character
* Added code to save/ restore Max Filesize and Max Filenumber from EEPROM and config file

NOTE: Crashes happen when returning from "set" menu after certain operations if compiled with latest Arduino IDE. Tested with 1.6.8 and it works fine. (See issue #245 for more details)
2021-10-10 19:12:43 -05:00
Nathan Seidle
b11a9cb8c8 Incrementing version number 2018-11-27 21:16:34 -07:00
Nathan Seidle
895264421b Fix echo and verbose bug in issue #224. 2018-11-27 21:16:07 -07:00
nseidle
2846e32658 Driving SPI pins low to avoid power consumption on some SD cards. See issue 215. 2018-04-30 16:30:24 -06:00
Nathan Seidle
5ca695ae07 Fix verbose bug issue 208 2018-02-09 11:41:47 -07:00
Nathan Seidle
e4bdee0912 Fixes issue 205 2016-10-10 21:45:28 -06:00
Toni Klopfenstein
7126fc1b0e Updating directory structure, updating fritzing documentation 2016-04-07 17:21:04 -06:00