Calzone-UI/inc/lvgl_port/lvgl_fb_port.h
2024-02-22 21:45:19 -07:00

17 lines
335 B
C

#pragma once
#include <stdint.h>
#include <lvgl.h>
extern uint32_t disp_height;
extern uint32_t disp_width;
void fb_flush_cb(lv_display_t* display, const lv_area_t* area, uint8_t* px_map);
uint32_t disp_hpercent_to_px(uint32_t percent);
uint32_t disp_vpercent_to_px(uint32_t percent);
int lvgl_fb_run(const char* const fb_dev);