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
0ea78b32
Commit
0ea78b32
authored
Jun 25, 2015
by
MagoKimbra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix LCD Contrast
parent
8f9f6e0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
configuration_store.cpp
MarlinKimbra/configuration_store.cpp
+3
-3
ultralcd.h
MarlinKimbra/ultralcd.h
+1
-1
No files found.
MarlinKimbra/configuration_store.cpp
View file @
0ea78b32
...
...
@@ -206,7 +206,7 @@ void Config_StoreSettings() {
EEPROM_WRITE_VAR
(
i
,
bedKd
);
#endif
#if
defined(DOGLCD) || LCD_CONTRAST < 0
#if
ndef HAS_LCD_CONTRAST
const
int
lcd_contrast
=
32
;
#endif
EEPROM_WRITE_VAR
(
i
,
lcd_contrast
);
...
...
@@ -342,7 +342,7 @@ void Config_RetrieveSettings() {
EEPROM_READ_VAR
(
i
,
bedKd
);
#endif
#if
defined(DOGLCD) || LCD_CONTRAST < 0
#if
ndef HAS_LCD_CONTRAST
int
lcd_contrast
;
#endif
...
...
@@ -513,7 +513,7 @@ void Config_ResetDefault() {
gumPreheatFanSpeed
=
GUM_PREHEAT_FAN_SPEED
;
#endif
#if HAS_LCD_CONTRAST
#if
def
HAS_LCD_CONTRAST
lcd_contrast
=
DEFAULT_LCD_CONTRAST
;
#endif //DOGLCD
...
...
MarlinKimbra/ultralcd.h
View file @
0ea78b32
...
...
@@ -20,7 +20,7 @@
void
dontExpireStatus
();
#endif
#if
defined(DOGLCD) && LCD_CONTRAST >= 0
#if
def DOGLCD
extern
int
lcd_contrast
;
void
lcd_setcontrast
(
uint8_t
value
);
#endif
...
...
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