Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
lovyan03 committed Nov 5, 2024
1 parent eec5c87 commit 894e434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lgfx/v1/platforms/esp32/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ namespace lgfx
{
public:
pin_backup_t(int pin_num);
pin_backup_t(void) : pin_backup_t( GPIO_NUM_NC ) {};
pin_backup_t(void) : pin_backup_t( -1 ) {};
void setPin(int pin_num) { _pin_num = pin_num; }
int getPin(void) const { return _pin_num; }
void backup(void);
Expand Down

0 comments on commit 894e434

Please sign in to comment.