mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2026-08-15 05:18:32 +00:00
lib: simplefb: name the text top-padding constant
The value 5 appeared bare in two places: simplefb.c (when text wraps past the bottom of the screen) and debug.c (initial y position for the printk overlay). Replace both with FB_TEXT_TOP_PADDING defined once in simplefb.h.
This commit is contained in:
1 parent
0887508877
commit
ce1a97e2e9
3 files changed
+4
-2
No files matched your search
@@ -17,6 +17,8 @@ typedef struct _color {
|
||||
unsigned char a;
|
||||
} color;
|
||||
|
||||
#define FB_TEXT_TOP_PADDING 5
|
||||
|
||||
typedef enum {
|
||||
FB_FORMAT_RGB888,
|
||||
FB_FORMAT_ARGB8888,
|
||||
|
||||
Reference in new issue
Block a user