Make QP driver init functions weak. (#18717)
This commit is contained in:
@@ -20,7 +20,7 @@ tft_panel_dc_reset_painter_device_t ili9163_drivers[ILI9163_NUM_DEVICES] = {0};
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Initialization
|
||||
|
||||
bool qp_ili9163_init(painter_device_t device, painter_rotation_t rotation) {
|
||||
__attribute__((weak)) bool qp_ili9163_init(painter_device_t device, painter_rotation_t rotation) {
|
||||
// clang-format off
|
||||
const uint8_t ili9163_init_sequence[] = {
|
||||
// Command, Delay, N, Data[N]
|
||||
|
@@ -20,7 +20,7 @@ tft_panel_dc_reset_painter_device_t ili9341_drivers[ILI9341_NUM_DEVICES] = {0};
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Initialization
|
||||
|
||||
bool qp_ili9341_init(painter_device_t device, painter_rotation_t rotation) {
|
||||
__attribute__((weak)) bool qp_ili9341_init(painter_device_t device, painter_rotation_t rotation) {
|
||||
// clang-format off
|
||||
const uint8_t ili9341_init_sequence[] = {
|
||||
// Command, Delay, N, Data[N]
|
||||
|
@@ -20,7 +20,7 @@ tft_panel_dc_reset_painter_device_t ili9488_drivers[ILI9488_NUM_DEVICES] = {0};
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Initialization
|
||||
|
||||
bool qp_ili9488_init(painter_device_t device, painter_rotation_t rotation) {
|
||||
__attribute__((weak)) bool qp_ili9488_init(painter_device_t device, painter_rotation_t rotation) {
|
||||
// clang-format off
|
||||
const uint8_t ili9488_init_sequence[] = {
|
||||
// Command, Delay, N, Data[N]
|
||||
|
Reference in New Issue
Block a user