Skip to content

Commit 97bebdc

Browse files
committed
chore(SPI): remove deprecated WiFi library workaround
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 462c518 commit 97bebdc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Diff for: libraries/SPI/src/SPI.cpp

-7
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,6 @@ void SPIClass::begin(uint8_t _pin)
7474
spiSettings[idx].dMode,
7575
spiSettings[idx].bOrder);
7676
_CSPinConfig = _pin;
77-
#if __has_include("WiFi.h")
78-
// Wait wifi shield initialization.
79-
// Should be better to do in SpiDrv::begin() of WiFi library but it seems
80-
// there is no more update on this library as shield is retired.
81-
delay(2000);
82-
#endif
83-
8477
}
8578

8679
/**

0 commit comments

Comments
 (0)