summaryrefslogtreecommitdiff
path: root/drivers/painter/gc9a01
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2022-10-15 04:15:02 +1100
committerGitHub <noreply@github.com>2022-10-14 18:15:02 +0100
commit19aed5e999ef177a2ff0b2b705443bde9c70588c (patch)
tree314b496c9e67435ca7ee217e2481849c6a6babc7 /drivers/painter/gc9a01
parent3fffa51554556edc9ca53bc04ef45abe87d3d3c9 (diff)
Make QP driver init functions weak. (#18717)
Diffstat (limited to 'drivers/painter/gc9a01')
-rw-r--r--drivers/painter/gc9a01/qp_gc9a01.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/painter/gc9a01/qp_gc9a01.c b/drivers/painter/gc9a01/qp_gc9a01.c
index 37700a28a4..5bdab1e520 100644
--- a/drivers/painter/gc9a01/qp_gc9a01.c
+++ b/drivers/painter/gc9a01/qp_gc9a01.c
@@ -17,7 +17,7 @@ tft_panel_dc_reset_painter_device_t gc9a01_drivers[GC9A01_NUM_DEVICES] = {0};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Initialization
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-bool qp_gc9a01_init(painter_device_t device, painter_rotation_t rotation) {
+__attribute__((weak)) bool qp_gc9a01_init(painter_device_t device, painter_rotation_t rotation) {
// A lot of these "unknown" opcodes are sourced from other OSS projects and are seemingly required for this display to function.
// clang-format off
const uint8_t gc9a01_init_sequence[] = {