Skip to content

Commit a0b3dcd

Browse files
authored
Fixed powerOnOff timeout. Fixes #19
1 parent d99de04 commit a0b3dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SIM808.Power.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bool SIM808::powerOnOff(bool power)
2626
delay(2000);
2727
digitalWrite(_pwrKeyPin, HIGH);
2828

29-
uint16_t timeout = 2000;
29+
int16_t timeout = 2000;
3030
do {
3131
delay(150);
3232
timeout -= 150;

0 commit comments

Comments
 (0)