From 19aed5e999ef177a2ff0b2b705443bde9c70588c Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sat, 15 Oct 2022 04:15:02 +1100 Subject: Make QP driver init functions weak. (#18717) --- drivers/painter/ssd1351/qp_ssd1351.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/painter/ssd1351') 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 -- cgit v1.2.3