Skip to content

Commit

Permalink
Removed error cases not supported by 8266
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMueller2003 committed Dec 27, 2024
1 parent f066ea3 commit b927e41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EFUpdate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ void EFUpdate::ConvertErrorToString()
_errorMsg = F("Magic Byte Mismatch");
break;
}
#ifdef ARDUINO_ARCH_ESP32
case UPDATE_ERROR_ACTIVATE:
{
_errorMsg = F("Could Not activate the alternate partition");
Expand All @@ -300,6 +301,7 @@ void EFUpdate::ConvertErrorToString()
_errorMsg = F("Operation Aborted");
break;
}
#endif // def ARDUINO_ARCH_ESP32
default:
{
_errorMsg = F("Unknown Error Code");
Expand Down

0 comments on commit b927e41

Please sign in to comment.