Skip to content

Commit

Permalink
satisfy clang
Browse files Browse the repository at this point in the history
  • Loading branch information
brentru committed Sep 9, 2020
1 parent e3cb66e commit fc40d71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/AdafruitIO_FONA.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ class AdafruitIO_FONA : public AdafruitIO {
*/
/**************************************************************************/
void _disconnect() {
if (!_fona->enableGPRS(false)) {
AIO_DEBUG_PRINTLN("Failed to turn off GPRS.");
}
_status = AIO_NET_DISCONNECTED;
if (!_fona->enableGPRS(false)) {
AIO_DEBUG_PRINTLN("Failed to turn off GPRS.");
}
_status = AIO_NET_DISCONNECTED;
}
};

Expand Down

0 comments on commit fc40d71

Please sign in to comment.