Fix build

This commit is contained in:
Volodymyr Shymanskyy
2016-12-08 14:21:26 +02:00
parent 96e5febf1f
commit c31c1544ce
2 changed files with 19 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ void setup() {
}
void loop() {
if (!modem.networkConnect(apn, user, pass)) {
if (!modem.gprsConnect(apn, user, pass)) {
delay(10000);
return;
}
@@ -92,7 +92,7 @@ void loop() {
client.stop();
modem.networkDisconnect();
modem.gprsDisconnect();
SerialMon.println();
SerialMon.println("************************");