Skip to content

Commit

Permalink
Update serialap.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasniesner authored May 6, 2024
1 parent 8678e3d commit 2689447
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ESP32_AP-Flasher/src/serialap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,9 +788,12 @@ bool bringAPOnline() {
}

bool checkRadio() {
#ifndef C6_OTA_FLASHING
#ifndef C6_OTA_FLASHING
return true;
#endif
#endif
#ifndef BLE_ONLY
return false;
#endif
// make a short between FLASHER_AP_TXD and FLASHER_AP_RXD to indicate that no radio is present
// e.g. for flasher only, or just to use the S3 to generate images for smaller AP's
pinMode(FLASHER_AP_TXD, OUTPUT);
Expand Down Expand Up @@ -1017,4 +1020,4 @@ void APTask(void* parameter) {
}
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}
}

0 comments on commit 2689447

Please sign in to comment.