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
a5a7e4e8
Commit
a5a7e4e8
authored
Aug 24, 2015
by
Simone Primarosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 4.2.0 dev
parent
b3b1118d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
ultralcd.cpp
MarlinKimbra/ultralcd.cpp
+18
-14
No files found.
MarlinKimbra/ultralcd.cpp
View file @
a5a7e4e8
...
@@ -1699,22 +1699,26 @@ int lcd_strlen_P(const char *s) {
...
@@ -1699,22 +1699,26 @@ int lcd_strlen_P(const char *s) {
#if ENABLED(SDSUPPORT) && ENABLED(SD_SETTINGS)
#if ENABLED(SDSUPPORT) && ENABLED(SD_SETTINGS)
void
set_sd_dot
()
{
void
set_sd_dot
()
{
u8g
.
firstPage
();
#if ENABLED(DOGLCD)
do
{
u8g
.
firstPage
();
u8g
.
setColorIndex
(
1
);
do
{
u8g
.
drawPixel
(
0
,
0
);
// draw sd dot
u8g
.
setColorIndex
(
1
);
u8g
.
setColorIndex
(
1
);
// black on white
u8g
.
drawPixel
(
0
,
0
);
// draw sd dot
(
*
currentMenu
)();
u8g
.
setColorIndex
(
1
);
// black on white
}
while
(
u8g
.
nextPage
()
);
(
*
currentMenu
)();
}
while
(
u8g
.
nextPage
()
);
#endif
}
}
void
unset_sd_dot
()
{
void
unset_sd_dot
()
{
u8g
.
firstPage
();
#if ENABLED(DOGLCD)
do
{
u8g
.
firstPage
();
u8g
.
setColorIndex
(
0
);
do
{
u8g
.
drawPixel
(
0
,
0
);
// draw sd dot
u8g
.
setColorIndex
(
0
);
u8g
.
setColorIndex
(
1
);
// black on white
u8g
.
drawPixel
(
0
,
0
);
// draw sd dot
(
*
currentMenu
)();
u8g
.
setColorIndex
(
1
);
// black on white
}
while
(
u8g
.
nextPage
()
);
(
*
currentMenu
)();
}
while
(
u8g
.
nextPage
()
);
#endif
}
}
#endif
#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