Skip to content

Commit

Permalink
Fix building for ESP8266
Browse files Browse the repository at this point in the history
  • Loading branch information
ktos committed Apr 14, 2023
1 parent 9b42133 commit 6f7a0af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mokosh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ void Mokosh::setupOta()
{
uint16_t otaPort = 3232;
#if defined(ESP8266)
otaPort = this->config.getInt(this->config.key_ota_port, 8266);
otaPort = this->config.get<int>(this->config.key_ota_port, 8266);
#endif

#if defined(ESP32)
Expand Down

0 comments on commit 6f7a0af

Please sign in to comment.