Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
571ced71
Commit
571ced71
authored
7 years ago
by
Scott Lahteine
Browse files
Options
Downloads
Patches
Plain Diff
Add SDCARD_SORT_ALPHA options for LPC1768
parent
727a403b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/inc/Conditionals_post.h
+16
-4
16 additions, 4 deletions
Marlin/src/inc/Conditionals_post.h
with
16 additions
and
4 deletions
Marlin/src/inc/Conditionals_post.h
+
16
−
4
View file @
571ced71
...
@@ -1179,10 +1179,22 @@
...
@@ -1179,10 +1179,22 @@
#undef SDSORT_USES_RAM
#undef SDSORT_USES_RAM
#undef SDSORT_USES_STACK
#undef SDSORT_USES_STACK
#undef SDSORT_CACHE_NAMES
#undef SDSORT_CACHE_NAMES
#define SDSORT_LIMIT 256 // Maximum number of sorted items (10-256). Costs 27 bytes each.
#define SDSORT_LIMIT 256
#define SDSORT_USES_RAM true // Pre-allocate a static array for faster pre-sorting.
#define SDSORT_USES_RAM true
#define SDSORT_USES_STACK false // Prefer the stack for pre-sorting to give back some SRAM. (Negated by next 2 options.)
#define SDSORT_USES_STACK false
#define SDSORT_CACHE_NAMES true // Keep sorted items in RAM longer for speedy performance. Most expensive option.
#define SDSORT_CACHE_NAMES true
#ifndef FOLDER_SORTING
#define FOLDER_SORTING -1
#endif
#ifndef SDSORT_GCODE
#define SDSORT_GCODE false
#endif
#ifndef SDSORT_DYNAMIC_RAM
#define SDSORT_DYNAMIC_RAM false
#endif
#ifndef SDSORT_CACHE_VFATS
#define SDSORT_CACHE_VFATS 2
#endif
#endif
#endif
#endif // CONDITIONALS_POST_H
#endif // CONDITIONALS_POST_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment