Skip to content

Commit 3d65bc5

Browse files
committed
Correct warning
1 parent 992fd3d commit 3d65bc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Modem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void ModemClass::noDebug()
106106
_debug = false;
107107
}
108108

109-
int ModemClass::autosense(int timeout)
109+
int ModemClass::autosense(unsigned int timeout)
110110
{
111111
for (unsigned long start = millis(); (millis() - start) < timeout;) {
112112
if (noop() == 1) {

src/Modem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ModemClass {
4040
void debug();
4141
void noDebug();
4242

43-
int autosense(int timeout = 10000);
43+
int autosense(unsigned int timeout = 10000);
4444

4545
int noop();
4646
int reset();

0 commit comments

Comments
 (0)