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/ssd1351 | |
parent | 3fffa51554556edc9ca53bc04ef45abe87d3d3c9 (diff) |
Make QP driver init functions weak. (#18717)
Diffstat (limited to 'drivers/painter/ssd1351')
-rw-r--r-- | drivers/painter/ssd1351/qp_ssd1351.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/painter/ssd1351/qp_ssd1351.c b/drivers/painter/ssd1351/qp_ssd1351.c index 7ce76bab6d..85146490a0 100644 --- a/drivers/painter/ssd1351/qp_ssd1351.c +++ b/drivers/painter/ssd1351/qp_ssd1351.c @@ -20,7 +20,7 @@ tft_panel_dc_reset_painter_device_t ssd1351_drivers[SSD1351_NUM_DEVICES] = {0}; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Initialization -bool qp_ssd1351_init(painter_device_t device, painter_rotation_t rotation) { +__attribute__((weak)) bool qp_ssd1351_init(painter_device_t device, painter_rotation_t rotation) { tft_panel_dc_reset_painter_device_t *driver = (tft_panel_dc_reset_painter_device_t *)device; // clang-format off |