Skip to content

Commit

Permalink
Fixed powerOnOff timeout. Fixes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
blemasle committed Sep 22, 2021
1 parent d99de04 commit a0b3dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SIM808.Power.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ bool SIM808::powerOnOff(bool power)
delay(2000);
digitalWrite(_pwrKeyPin, HIGH);

uint16_t timeout = 2000;
int16_t timeout = 2000;
do {
delay(150);
timeout -= 150;
Expand Down

0 comments on commit a0b3dcd

Please sign in to comment.