mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-09 06:32:06 +00:00
first attempt at getting trunk to do linting
This commit is contained in:
parent
be889015f7
commit
4cdfae71cf
@ -410,10 +410,10 @@ class LGFX : public lgfx::LGFX_Device
|
|||||||
{
|
{
|
||||||
lgfx::Panel_HX8357D _panel_instance;
|
lgfx::Panel_HX8357D _panel_instance;
|
||||||
lgfx::Bus_SPI _bus_instance;
|
lgfx::Bus_SPI _bus_instance;
|
||||||
#if defined(USE_XPT2046)
|
#if defined(USE_XPT2046)
|
||||||
lgfx::ITouch *_touch_instance;
|
lgfx::ITouch *_touch_instance;
|
||||||
// lgfx::Touch_XPT2046 _touch_instance;
|
// lgfx::Touch_XPT2046 _touch_instance;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
LGFX(void)
|
LGFX(void)
|
||||||
@ -463,7 +463,7 @@ class LGFX : public lgfx::LGFX_Device
|
|||||||
|
|
||||||
_panel_instance.config(cfg);
|
_panel_instance.config(cfg);
|
||||||
}
|
}
|
||||||
#if defined(USE_XPT2046)
|
#if defined(USE_XPT2046)
|
||||||
{
|
{
|
||||||
// Configure settings for touch control.
|
// Configure settings for touch control.
|
||||||
_touch_instance = new lgfx::Touch_XPT2046;
|
_touch_instance = new lgfx::Touch_XPT2046;
|
||||||
@ -481,7 +481,7 @@ class LGFX : public lgfx::LGFX_Device
|
|||||||
_touch_instance->config(touch_cfg);
|
_touch_instance->config(touch_cfg);
|
||||||
//_panel_instance->setTouch(_touch_instance);
|
//_panel_instance->setTouch(_touch_instance);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
setPanel(&_panel_instance);
|
setPanel(&_panel_instance);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user