File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -215,15 +215,13 @@ void SpiDrv::waitForSlaveSign()
215215 while (!waitSlaveSign ());
216216}
217217
218- void SpiDrv::waitForSlaveReady (bool const feed_watchdog )
218+ void SpiDrv::waitForSlaveReady ()
219219{
220220 unsigned long const start = millis ();
221221 while (!waitSlaveReady ())
222222 {
223- if (feed_watchdog) {
224- if ((millis () - start) < 10000 ) {
225- WiFi.feedWatchdog ();
226- }
223+ if ((millis () - start) < 10000 ) {
224+ WiFi.feedWatchdog ();
227225 }
228226 }
229227}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class SpiDrv
5959
6060 static char spiTransfer (volatile char data);
6161
62- static void waitForSlaveReady (bool const feed_watchdog = false );
62+ static void waitForSlaveReady ();
6363
6464 // static int waitSpiChar(char waitChar, char* readChar);
6565
You can’t perform that action at this time.
0 commit comments