check for esp32 w/ wifi

This commit is contained in:
Manuel
2026-02-03 22:26:53 +01:00
parent 9fdeec173e
commit bc311616a3

View File

@@ -234,7 +234,7 @@ bool AdminModule::handleReceivedProtobuf(const meshtastic_MeshPacket &mp, meshta
break;
}
case meshtastic_AdminMessage_ota_request_tag: {
#if defined(ARCH_ESP32)
#if defined(ARCH_ESP32) && !MESHTASTIC_EXCLUDE_WIFI
LOG_INFO("OTA Requested");
if (r->ota_request.ota_hash.size != 32) {