mirror of
https://github.com/m5stack/lv_m5_emulator.git
synced 2026-05-20 11:19:24 -07:00
22 lines
351 B
C++
22 lines
351 B
C++
#ifndef __LVGL_PORT_M5STACK_HPP__
|
|
#define __LVGL_PORT_M5STACK_HPP__
|
|
|
|
#if defined(ARDUINO)
|
|
#include <Arduino.h>
|
|
#endif
|
|
#include <M5GFX.h>
|
|
#include "lvgl.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void lvgl_port_init(M5GFX &gfx);
|
|
void lvgl_port_lock(void);
|
|
void lvgl_port_unlock(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __LVGL_PORT_M5STACK_HPP__
|