Add delay so GPS and Radio have time to power up (#3334)

* Add delay so GPS and Radio have time to power up

* reduce the delay a bit

* make delay more generic / configurable

* remove whitespace changes
This commit is contained in:
Steven Osborn authored and GitHub committed 2024-03-07 07:11:25 -06:00
1 parent 2dd751e339
commit c860493e68
3 files changed
+9 -1

No files matched your search

+5
View File
@@ -680,6 +680,11 @@ void setup()
digitalWrite(SX126X_ANT_SW, 1);
#endif
#ifdef PIN_PWR_DELAY_MS
// This may be required to give the peripherals time to power up.
delay(PIN_PWR_DELAY_MS);
#endif
#ifdef ARCH_PORTDUINO
if (settingsMap[use_sx1262]) {
if (!rIf) {