Skip to content

Commit 83b9450

Browse files
committed
Set NB default restart value to false
1 parent 482e928 commit 83b9450

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/NB.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ class NB {
4545
to call repeatedly ready() until you get a result. Default is TRUE.
4646
@return If synchronous, NB_NetworkStatus_t. If asynchronous, returns 0.
4747
*/
48-
NB_NetworkStatus_t begin(const char* pin = 0, bool restart = true, bool synchronous = true);
49-
NB_NetworkStatus_t begin(const char* pin, const char* apn, bool restart = true, bool synchronous = true);
50-
NB_NetworkStatus_t begin(const char* pin, const char* apn, const char* username, const char* password, bool restart = true, bool synchronous = true);
48+
NB_NetworkStatus_t begin(const char* pin = 0, bool restart = false, bool synchronous = true);
49+
NB_NetworkStatus_t begin(const char* pin, const char* apn, bool restart = false, bool synchronous = true);
50+
NB_NetworkStatus_t begin(const char* pin, const char* apn, const char* username, const char* password, bool restart = false, bool synchronous = true);
5151

5252
/** Check network access status
5353
@return 1 if Alive, 0 if down

0 commit comments

Comments
 (0)