Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
12c03eb1
Commit
12c03eb1
authored
Jan 11, 2016
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change name
parent
db267b04
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6604 deletions
+0
-6604
configuration_store.cpp
MarlinKimbra/configuration_store.cpp
+0
-1013
configuration_store.h
MarlinKimbra/configuration_store.h
+0
-35
pins.h
MarlinKimbra/pins.h
+0
-5556
No files found.
MarlinKimbra/configuration_store.cpp
deleted
100644 → 0
View file @
db267b04
This diff is collapsed.
Click to expand it.
MarlinKimbra/configuration_store.h
deleted
100644 → 0
View file @
db267b04
#ifndef CONFIGURATION_STORE_H
#define CONFIGURATION_STORE_H
#include "base.h"
void
Config_ResetDefault
();
void
ConfigSD_ResetDefault
();
#if DISABLED(DISABLE_M503)
void
Config_PrintSettings
(
bool
forReplay
=
false
);
void
ConfigSD_PrintSettings
(
bool
forReplay
=
false
);
#else
FORCE_INLINE
void
Config_PrintSettings
(
bool
forReplay
=
false
)
{}
FORCE_INLINE
void
ConfigSD_PrintSettings
(
bool
forReplay
=
false
)
{}
#endif
#if ENABLED(EEPROM_SETTINGS)
void
Config_StoreSettings
();
void
Config_RetrieveSettings
();
#else
FORCE_INLINE
void
Config_StoreSettings
()
{}
FORCE_INLINE
void
Config_RetrieveSettings
()
{
Config_ResetDefault
();
Config_PrintSettings
();
}
#endif
#if ENABLED(SDSUPPORT) && ENABLED(SD_SETTINGS)
#define CFG_SD_MAX_KEY_LEN 3+1 // icrease this if you add key name longer than the actual value.
#define CFG_SD_MAX_VALUE_LEN 30+1 // this should be enought for int, long and float if you need to retrive strings increase this carefully
void
ConfigSD_StoreSettings
();
void
ConfigSD_RetrieveSettings
(
bool
addValue
=
false
);
int
ConfigSD_KeyIndex
(
char
*
key
);
#else
FORCE_INLINE
void
ConfigSD_RetrieveSettings
()
{
ConfigSD_ResetDefault
();
}
#endif
#endif //CONFIGURATION_STORE_H
MarlinKimbra/pins.h
deleted
100644 → 0
View file @
db267b04
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment