Support for touch/key events in LUA widgets
This commit is contained in:
committed by
Raphael Coeffic
parent
93797a3e14
commit
a3424d5bc0
@@ -42,7 +42,7 @@ void watchdogSuspend(uint32_t timeout);
|
||||
|
||||
#include "opentx_types.h"
|
||||
|
||||
extern volatile tmr10ms_t g_tmr10ms;
|
||||
extern "C" volatile tmr10ms_t g_tmr10ms;
|
||||
|
||||
static inline tmr10ms_t get_tmr10ms()
|
||||
{
|
||||
|
||||
@@ -178,8 +178,8 @@ static void simuRefreshLcd(lv_disp_drv_t * disp_drv, uint16_t *buffer, const rec
|
||||
lv_area_t refr_area;
|
||||
lv_area_copy(&refr_area, &disp->inv_areas[i]);
|
||||
|
||||
TRACE("{%d,%d,%d,%d}", refr_area.x1,
|
||||
refr_area.y1, refr_area.x2, refr_area.y2);
|
||||
// TRACE("{%d,%d,%d,%d}", refr_area.x1,
|
||||
// refr_area.y1, refr_area.x2, refr_area.y2);
|
||||
|
||||
// _rotate_area_180(refr_area);
|
||||
_copy_screen_area(dst, src, refr_area);
|
||||
|
||||
Reference in New Issue
Block a user