File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -215,15 +215,13 @@ void SpiDrv::waitForSlaveSign()
215
215
while (!waitSlaveSign ());
216
216
}
217
217
218
- void SpiDrv::waitForSlaveReady (bool const feed_watchdog )
218
+ void SpiDrv::waitForSlaveReady ()
219
219
{
220
220
unsigned long const start = millis ();
221
221
while (!waitSlaveReady ())
222
222
{
223
- if (feed_watchdog) {
224
- if ((millis () - start) < 10000 ) {
225
- WiFi.feedWatchdog ();
226
- }
223
+ if ((millis () - start) < 10000 ) {
224
+ WiFi.feedWatchdog ();
227
225
}
228
226
}
229
227
}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class SpiDrv
59
59
60
60
static char spiTransfer (volatile char data);
61
61
62
- static void waitForSlaveReady (bool const feed_watchdog = false );
62
+ static void waitForSlaveReady ();
63
63
64
64
// static int waitSpiChar(char waitChar, char* readChar);
65
65
You can’t perform that action at this time.
0 commit comments