BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mangoh-drivers
Project
Overview
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
mangoh-drivers
Commits
60a9fb9f
Commit
60a9fb9f
authored
Mar 07, 2019
by
Thong Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws_eink: Update to support sleep mode
Add callinng init in ws_eink_display and sleep after displaying
parent
734c03ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
fb_waveshare_eink.c
...l/waveshare_eink/linux_kernel_modules/fb_waveshare_eink.c
+10
-0
No files found.
experimental/waveshare_eink/linux_kernel_modules/fb_waveshare_eink.c
View file @
60a9fb9f
...
...
@@ -341,11 +341,21 @@ static int ws_eink_update_display(struct ws_eink_fb_par *par)
int
ret
=
0
;
u8
*
vmem
=
par
->
info
->
screen_base
;
u8
*
ssbuf
=
par
->
ssbuf
;
ret
=
int_lut
(
par
,
lut_partial_update
,
ARRAY_SIZE
(
lut_partial_update
));
if
(
ret
)
return
ret
;
memcpy
(
&
ssbuf
,
&
vmem
,
sizeof
(
vmem
));
ret
=
set_frame_memory
(
par
,
ssbuf
);
if
(
ret
)
return
ret
;
ret
=
display_frame
(
par
);
if
(
ret
)
return
ret
;
ret
=
ws_eink_sleep
(
par
);
return
ret
;
}
...
...
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