summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 481382a..28fb21d 100644
--- a/Makefile
+++ b/Makefile
@@ -56,5 +56,6 @@ PY_PATH != $(cli) compile --show-properties | sed -ne 's/^runtime.tools.python3.
56MDNS_IP != getent ahostsv4 $(MDNS_NAME).local | (read ip _; echo $$ip) 56MDNS_IP != getent ahostsv4 $(MDNS_NAME).local | (read ip _; echo $$ip)
57 57
58ota: $(BIN) 58ota: $(BIN)
59 [ "$(MDNS_IP)" ]
59 "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(MDNS_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)" 60 "$(PY_PATH)/python3" "$(PLAT_PATH)/tools/espota.py" -i "$(MDNS_IP)" -p "$(OTA_PORT)" --auth="$(OTA_PASS)" -f "$(BIN)"
60 61