Skip to content

Commit

Permalink
fixed begin parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitshaoxiang authored Nov 30, 2020
1 parent 2522684 commit f975b10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/M5EPD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ M5EPD::M5EPD()

/** @brief Initialize the power supply, screen and other peripherals
*/
void M5EPD::begin(bool touchEnable, bool SDEnable, bool SerialEnable, bool I2CEnable, bool BatteryADCEnable)
void M5EPD::begin(bool touchEnable, bool SDEnable, bool SerialEnable, bool BatteryADCEnable, bool I2CEnable)
{
if (_isInited)
{
Expand Down Expand Up @@ -157,4 +157,4 @@ int M5EPD::shutdown(const rtc_date_t &RTC_DateStruct, const rtc_time_t &RTC_Time
}


M5EPD M5;
M5EPD M5;

0 comments on commit f975b10

Please sign in to comment.