lib: simplefb: drop passing fb base via func args
As we can make use of the video_info struct for base address, this argument is not required anymore and only breaks havoc on boards that don't set the CONFIG option.
This commit is contained in:
1 parent
eae304698b
commit
aa0163f2a5
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -71,8 +71,8 @@ static inline void fb_output(const char *prefix, const char *message, color text
|
||||
const int y_pos = 5;
|
||||
const int prefix_width = strlen(prefix) * SCALED_FONTW;
|
||||
|
||||
__simplefb_raw_print((char*)CONFIG_FRAMEBUFFER_BASE, prefix, 0, y_pos, text_color);
|
||||
__simplefb_raw_print((char*)CONFIG_FRAMEBUFFER_BASE, message, prefix_width, y_pos, gray);
|
||||
__simplefb_raw_print(prefix, 0, y_pos, text_color);
|
||||
__simplefb_raw_print(message, prefix_width, y_pos, gray);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user