Fork of Tangara with customizations
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tangara-fw/src/ui/include/lvgl_task.hpp

20 lines
384 B

#pragma once
#include <atomic>
#include <cstdbool>
#include <memory>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "display.hpp"
#include "touchwheel.hpp"
namespace ui {
auto StartLvgl(std::weak_ptr<drivers::TouchWheel> touch_wheel,
std::weak_ptr<drivers::Display> display,
std::atomic<bool>* quit) -> bool;
} // namespace ui