Revert "Add _disconnect function to AdafruitIO_FONA.h"
This commit is contained in:
parent
a1bb145f4c
commit
edca38212f
1 changed files with 0 additions and 12 deletions
|
|
@ -123,18 +123,6 @@ protected:
|
|||
|
||||
_status = AIO_NET_DISCONNECTED;
|
||||
}
|
||||
|
||||
/**************************************************************************/
|
||||
/*!
|
||||
@brief Disconnects from Adafruit IO and the cellular network.
|
||||
*/
|
||||
/**************************************************************************/
|
||||
void _disconnect() {
|
||||
if (!_fona->enableGPRS(false)) {
|
||||
AIO_DEBUG_PRINTLN("Failed to turn off GPRS.");
|
||||
}
|
||||
_status = AIO_NET_DISCONNECTED;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // ADAFRUITIO_FONA_H
|
||||
|
|
|
|||
Loading…
Reference in a new issue