Update devment_code.ino

This commit is contained in:
Hao Jianjun 2024-11-01 09:03:09 +08:00 committed by GitHub
parent 764440881e
commit 0767e0dc29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ void jamBluetooth() {
} }
void jamDroneController() { void jamDroneController() {
Serial.println("Drone controller jamming: Starting 2.4 GHz and 5.8 GHz channel hopping..."); Serial.println("Drone controller jamming: Starting channel hopping...");
for (int channel = 1; channel <= 13; ++channel) { for (int channel = 1; channel <= 13; ++channel) {
esp_wifi_set_channel(channel, WIFI_SECOND_CHAN_NONE); esp_wifi_set_channel(channel, WIFI_SECOND_CHAN_NONE);