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
030509f1
Commit
030509f1
authored
Feb 04, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add DISABLE_M503
parent
507748e3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
Configuration.h
MarlinKimbra/Configuration.h
+2
-1
ConfigurationStore.cpp
MarlinKimbra/ConfigurationStore.cpp
+2
-2
ConfigurationStore.h
MarlinKimbra/ConfigurationStore.h
+7
-7
No files found.
MarlinKimbra/Configuration.h
View file @
030509f1
...
@@ -527,9 +527,10 @@ your extruder heater takes 2 minutes to hit the target on heating.
...
@@ -527,9 +527,10 @@ your extruder heater takes 2 minutes to hit the target on heating.
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
//define this to enable EEPROM support
//define this to enable EEPROM support
//#define EEPROM_SETTINGS
//#define EEPROM_SETTINGS
#define EEPROM_CHITCHAT
// to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
// to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
// please keep turned on if you can.
// please keep turned on if you can.
#define EEPROM_CHITCHAT
//#define DISABLE_M503
//========================= Bowden Filament management ======================
//========================= Bowden Filament management ======================
//#define EASY_LOAD
//#define EASY_LOAD
...
...
MarlinKimbra/ConfigurationStore.cpp
View file @
030509f1
...
@@ -380,7 +380,7 @@ void Config_ResetDefault()
...
@@ -380,7 +380,7 @@ void Config_ResetDefault()
SERIAL_ECHOLNPGM
(
"Hardcoded Default Settings Loaded"
);
SERIAL_ECHOLNPGM
(
"Hardcoded Default Settings Loaded"
);
}
}
#if
def EEPROM_CHITCHAT
#if
ndef DISABLE_M503
void
Config_PrintSettings
()
void
Config_PrintSettings
()
{
// Always have this function, even with EEPROM_SETTINGS disabled, the current values will be shown
{
// Always have this function, even with EEPROM_SETTINGS disabled, the current values will be shown
SERIAL_ECHO_START
;
SERIAL_ECHO_START
;
...
@@ -604,4 +604,4 @@ void Config_ResetDefault()
...
@@ -604,4 +604,4 @@ void Config_ResetDefault()
}
}
#endif //FWRETRACT
#endif //FWRETRACT
}
}
#endif //
EEPROM_CHITCHAT
#endif //
!DISABLE_M503
MarlinKimbra/ConfigurationStore.h
View file @
030509f1
...
@@ -6,17 +6,17 @@
...
@@ -6,17 +6,17 @@
void
Config_ResetDefault
();
void
Config_ResetDefault
();
#ifndef DISABLE_M503
#ifndef DISABLE_M503
void
Config_PrintSettings
();
void
Config_PrintSettings
();
#else
#else
FORCE_INLINE
void
Config_PrintSettings
()
{}
FORCE_INLINE
void
Config_PrintSettings
()
{}
#endif
#endif
#ifdef EEPROM_SETTINGS
#ifdef EEPROM_SETTINGS
void
Config_StoreSettings
();
void
Config_StoreSettings
();
void
Config_RetrieveSettings
();
void
Config_RetrieveSettings
();
#else
#else
FORCE_INLINE
void
Config_StoreSettings
()
{}
FORCE_INLINE
void
Config_StoreSettings
()
{}
FORCE_INLINE
void
Config_RetrieveSettings
()
{
Config_ResetDefault
();
Config_PrintSettings
();
}
FORCE_INLINE
void
Config_RetrieveSettings
()
{
Config_ResetDefault
();
Config_PrintSettings
();
}
#endif
#endif
#endif//CONFIG_STORE_H
#endif
//CONFIG_STORE_H
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