Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Don't send discovery message if encrypting is disabled in espnow
Oleg Kalachev5ee6d9144041
diff --git a/flix/wifi.ino b/flix/wifi.inoindex eea9d8a..f316f83 100644--- a/flix/wifi.ino+++ b/flix/wifi.ino@@ -58,7 +58,7 @@ void sendWiFi(const uint8_t *buf, int len) {espnow.write(buf, len);static Rate discovery(2);- if (discovery) espnowBroadcast.write((const uint8_t *)"flix", 4); // broadcast message to help finding this device+ if (espnow.isEncrypted() && discovery) espnowBroadcast.write((const uint8_t *)"flix", 4); // broadcast message to help finding this devicereturn;}