mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-15 10:58:09 +00:00
chore(core): add mock display driver for T3W1
[no changelog]
This commit is contained in:
parent
fa953d7296
commit
8569a1244c
@ -0,0 +1,29 @@
|
||||
|
||||
#include <trezor_bsp.h>
|
||||
#include <trezor_model.h>
|
||||
#include <trezor_rtl.h>
|
||||
|
||||
#include "display.h"
|
||||
|
||||
#ifdef KERNEL_MODE
|
||||
void display_init(display_content_mode_t mode) {}
|
||||
|
||||
void display_deinit(display_content_mode_t mode) {}
|
||||
|
||||
void display_set_unpriv_access(bool unpriv) {}
|
||||
|
||||
int display_set_backlight(int level) { return level; }
|
||||
|
||||
int display_get_backlight(void) { return 0; }
|
||||
|
||||
int display_set_orientation(int angle) { return angle; }
|
||||
int display_get_orientation(void) { return 0; }
|
||||
bool display_get_frame_buffer(display_fb_info_t *fb) { return true; }
|
||||
|
||||
void display_refresh(void) {}
|
||||
void display_fill(const gfx_bitblt_t *bb) {}
|
||||
void display_copy_rgb565(const gfx_bitblt_t *bb) {}
|
||||
void display_copy_mono4(const gfx_bitblt_t *bb) {}
|
||||
void display_copy_mono1p(const gfx_bitblt_t *bb) {}
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user