From 7083459cf3c62c32d0c039a4665e702d70a27bba Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 21 Apr 2023 15:27:57 +1000 Subject: wrap driver instance ownership + di in a class --- src/ui/include/lvgl_task.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ui/include/lvgl_task.hpp') diff --git a/src/ui/include/lvgl_task.hpp b/src/ui/include/lvgl_task.hpp index 1a2f425c..ca3fc771 100644 --- a/src/ui/include/lvgl_task.hpp +++ b/src/ui/include/lvgl_task.hpp @@ -5,11 +5,12 @@ #include "freertos/FreeRTOS.h" #include "freertos/task.h" -#include "gpio_expander.hpp" + +#include "driver_cache.hpp" namespace ui { -auto StartLvgl(drivers::GpioExpander* gpios, +auto StartLvgl(drivers::DriverCache* drivers, std::atomic* quit, TaskHandle_t* handle) -> bool; -- cgit v1.2.3