Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9ed95ad

Browse filesBrowse files
committed
GSM: GSM::end() add device shutdown command
1 parent 8b06fb3 commit 9ed95ad
Copy full SHA for 9ed95ad

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎libraries/GSM/src/GSM.cpp

Copy file name to clipboardExpand all lines: libraries/GSM/src/GSM.cpp
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ bool arduino::GSMClass::isCmuxEnable() {
132132
}
133133

134134
void arduino::GSMClass::end() {
135-
_device->shutdown();
135+
if(_device) {
136+
_device->shutdown();
137+
}
136138
}
137139

138140
int arduino::GSMClass::disconnect() {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.