projects
/
my-code
/
arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added default logo font (taken from linux kernel source:
[my-code/arm.git]
/
betty
/
display.h
diff --git
a/betty/display.h
b/betty/display.h
index
b129d88
..
bed4b70
100644
(file)
--- a/
betty/display.h
+++ b/
betty/display.h
@@
-65,9
+65,9
@@
DISPLAY_CMD=(((b)&0x0f)<<4|((a)&0x0f)); \
DISPLAY_CMD=0x8d; \
DISPLAY_CMD=(((d)&0x0f)<<4|((c)&0x0f))
DISPLAY_CMD=(((b)&0x0f)<<4|((a)&0x0f)); \
DISPLAY_CMD=0x8d; \
DISPLAY_CMD=(((d)&0x0f)<<4|((c)&0x0f))
-#define DISPLAY_SET_BLACK(a,b,c,d) DISPLAY_CMD=0x8
8
; \
+#define DISPLAY_SET_BLACK(a,b,c,d) DISPLAY_CMD=0x8
e
; \
DISPLAY_CMD=(((b)&0x0f)<<4|((a)&0x0f)); \
DISPLAY_CMD=(((b)&0x0f)<<4|((a)&0x0f)); \
- DISPLAY_CMD=0x8
9
; \
+ DISPLAY_CMD=0x8
f
; \
DISPLAY_CMD=(((d)&0x0f)<<4|((c)&0x0f))
#define DISPLAY_SET_PWM_FRC(p,f) DISPLAY_CMD=(0x90| \
(((f&0x01)<<2)|(p&0x03)))
DISPLAY_CMD=(((d)&0x0f)<<4|((c)&0x0f))
#define DISPLAY_SET_PWM_FRC(p,f) DISPLAY_CMD=(0x90| \
(((f&0x01)<<2)|(p&0x03)))
@@
-95,6
+95,7
@@
#define DISPLAY_EXTENDED_FEATURES DISPLAY_CMD=0xf0
/* function prototypes */
#define DISPLAY_EXTENDED_FEATURES DISPLAY_CMD=0xf0
/* function prototypes */
+void display_fill_screen(u8 fill);
void display_clear_screen(void);
void display_init(void);
void display_load_logo(u8 *src);
void display_clear_screen(void);
void display_init(void);
void display_load_logo(u8 *src);