diff options
author | Nick Brassel <nick@tzarc.org> | 2022-10-15 04:15:02 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 18:15:02 +0100 |
commit | 19aed5e999ef177a2ff0b2b705443bde9c70588c (patch) | |
tree | 314b496c9e67435ca7ee217e2481849c6a6babc7 /drivers/painter/st77xx/qp_st7789.c | |
parent | 3fffa51554556edc9ca53bc04ef45abe87d3d3c9 (diff) |
Make QP driver init functions weak. (#18717)
Diffstat (limited to 'drivers/painter/st77xx/qp_st7789.c')
-rw-r--r-- | drivers/painter/st77xx/qp_st7789.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/painter/st77xx/qp_st7789.c b/drivers/painter/st77xx/qp_st7789.c index 49e8436c29..905f6bb270 100644 --- a/drivers/painter/st77xx/qp_st7789.c +++ b/drivers/painter/st77xx/qp_st7789.c @@ -48,7 +48,7 @@ static inline void st7789_automatic_viewport_offsets(painter_device_t device, pa //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Initialization -bool qp_st7789_init(painter_device_t device, painter_rotation_t rotation) { +__attribute__((weak)) bool qp_st7789_init(painter_device_t device, painter_rotation_t rotation) { // clang-format off const uint8_t st7789_init_sequence[] = { // Command, Delay, N, Data[N] |