File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,8 @@ static HttpResponse sendData(const char* endpoint,
151151 return http_response;
152152 }
153153
154+ LedCtrl.off (Led::DATA, true );
155+
154156 // We pass in NULL as the start character here as the URC data will only
155157 // contain the payload, not the URC identifier
156158 bool got_response_code = SequansController.extractValueFromCommandResponse (
@@ -176,7 +178,6 @@ static HttpResponse sendData(const char* endpoint,
176178 }
177179
178180 LedCtrl.off (Led::CON, true );
179- LedCtrl.off (Led::DATA, true );
180181
181182 return http_response;
182183}
@@ -234,6 +235,8 @@ static HttpResponse queryData(const char* endpoint,
234235 return http_response;
235236 }
236237
238+ LedCtrl.off (Led::DATA, true );
239+
237240 bool got_response_code = SequansController.extractValueFromCommandResponse (
238241 http_response_buffer,
239242 HTTP_RESPONSE_STATUS_CODE_INDEX,
You can’t perform that action at this time.
0 commit comments