mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Fix invalid override
This commit is contained in:
parent
cedb130b75
commit
f28627c14d
@ -44,7 +44,7 @@ struct Panel_M5Stack : public lgfx::Panel_ILI9342
|
||||
_rotation = 1;
|
||||
}
|
||||
|
||||
bool init(bool use_reset)
|
||||
bool init(bool use_reset) override
|
||||
{
|
||||
lgfx::gpio_hi(_cfg.pin_rst);
|
||||
lgfx::pinMode(_cfg.pin_rst, lgfx::pin_mode_t::input_pulldown);
|
||||
@ -66,7 +66,7 @@ struct Panel_M5StackCore2 : public lgfx::Panel_ILI9342
|
||||
_rotation = 1; // default rotation
|
||||
}
|
||||
|
||||
void reset(void) override
|
||||
void reset(void)
|
||||
{
|
||||
using namespace m5stack;
|
||||
// AXP192 reg 0x96 = GPIO3&4 control
|
||||
|
Loading…
x
Reference in New Issue
Block a user