We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 992fd3d commit 3d65bc5Copy full SHA for 3d65bc5
src/Modem.cpp
@@ -106,7 +106,7 @@ void ModemClass::noDebug()
106
_debug = false;
107
}
108
109
-int ModemClass::autosense(int timeout)
+int ModemClass::autosense(unsigned int timeout)
110
{
111
for (unsigned long start = millis(); (millis() - start) < timeout;) {
112
if (noop() == 1) {
src/Modem.h
@@ -40,7 +40,7 @@ class ModemClass {
40
void debug();
41
void noDebug();
42
43
- int autosense(int timeout = 10000);
+ int autosense(unsigned int timeout = 10000);
44
45
int noop();
46
int reset();
0 commit comments