aboutsummaryrefslogtreecommitdiffhomepage
path: root/sd
diff options
context:
space:
mode:
authorAncyker <[email protected]>2024-03-02 11:26:35 -0500
committerAncyker <[email protected]>2024-03-02 11:26:35 -0500
commite61ac414d89556c941f0b8ca76e5d7d6684037f0 (patch)
treee8afd45cf20a11d54ecc85e40b25f842a78509eb /sd
parent3468703a51846cbb668f1efc020728d85fd9b76b (diff)
downloadcartreader-e61ac414d89556c941f0b8ca76e5d7d6684037f0.tar.gz
cartreader-e61ac414d89556c941f0b8ca76e5d7d6684037f0.zip
Code optimization, cleanup, and stylization
* Reduced PROGMEM / DRAM usage slightly (Using defaults w/HW5: Before -> 214,668 bytes / 5,757 bytes; After -> 213,414 bytes / 5,751 bytes) * Optimized some menu options and calls * Added more string constants and implemented them where found. * Fixed some stylization * Constants should always be uppercase. * Features should use the `ENABLE_<feature name>` format. * Options for features should use the `OPTION_<feature name>_<option name>` format. * Added ENUMs for more clarity and better type checking. * Moved some defines over to `constexpr` and `const` types. These are preferred over preprocessor constants when not intended for use with `#if` and other preprocessor language.
Diffstat (limited to 'sd')
-rw-r--r--sd/config.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/config.txt b/sd/config.txt
index 30fcf4c..e2d2e02 100644
--- a/sd/config.txt
+++ b/sd/config.txt
@@ -3,4 +3,4 @@ lcd.confColor=0
lcd.red=0
lcd.green=100
lcd.blue=0
-md.sramType=0
+md.saveType=0