Add debug

This commit is contained in:
Volodymyr Shymanskyy
2017-09-11 19:56:56 +03:00
parent b5c25a6cef
commit 601892d106

View File

@@ -63,6 +63,7 @@ void setup() {
} }
void loop() { void loop() {
// Restart takes quite some time // Restart takes quite some time
// To skip it, call init() instead of restart() // To skip it, call init() instead of restart()
DBG("Initializing modem..."); DBG("Initializing modem...");
@@ -133,6 +134,8 @@ void loop() {
#endif #endif
#ifdef CALL_TARGET #ifdef CALL_TARGET
DBG("Calling:", CALL_TARGET);
// This is NOT supported on M590 // This is NOT supported on M590
res = modem.callNumber(CALL_TARGET); res = modem.callNumber(CALL_TARGET);
DBG("Call:", res ? "OK" : "fail"); DBG("Call:", res ? "OK" : "fail");