Skip to content

Commit

Permalink
Fix invalid override
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Sep 13, 2023
1 parent cedb130 commit f28627c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drv/tft/M5Stack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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
Expand Down

0 comments on commit f28627c

Please sign in to comment.