From 301af99dd6687499c3aea1ee2b1142f24ceb39ee Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Tue, 23 Feb 2021 23:13:52 +0100 Subject: [PATCH] Add default return value to is_driver_pin --- src/drv/tft_driver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/drv/tft_driver.h b/src/drv/tft_driver.h index 8423b503..c528ede4 100644 --- a/src/drv/tft_driver.h +++ b/src/drv/tft_driver.h @@ -24,7 +24,9 @@ class BaseTft { static void flush_pixels(lv_disp_drv_t* disp, const lv_area_t* area, lv_color_t* color_p) {} virtual bool is_driver_pin(uint8_t) - {} + { + return false; + } }; } // namespace dev