1
0

Initial commit

This commit is contained in:
2023-11-28 14:19:36 +01:00
commit 2b9655cdce
262 changed files with 151100 additions and 0 deletions

28
src/app/touchgfxtask.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef TOUCHGFXTASK_H
#define TOUCHGFXTASK_H
#include "config/touchgfx-config.h"
#if (TOUCHGFX_BAREMETAL != 0)
#include "xf/behavior.h"
/**
* @brief TouchGFX task used in IDF and/or bare-metal environments to drive LCD display.
*/
class TouchGfxTask : public XFBehavior
{
public:
TouchGfxTask();
void initialize();
void start();
protected:
XFEventStatus processEvent() override;
protected:
const int32_t interval_;
};
#endif // TOUCHGFX_BAREMETAL
#endif // TOUCHGFXTASK_H