Revert "Add _disconnect function to AdafruitIO_FONA.h"

This commit is contained in:
Brent Rubell 2020-09-23 13:05:53 -04:00 committed by GitHub
parent a1bb145f4c
commit edca38212f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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