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 7231551

Browse filesBrowse files
Fixed Rmaker OTA crash issue espressif#5420 (espressif#7242)
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
1 parent d4d1458 commit 7231551
Copy full SHA for 7231551

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-1
lines changed

‎libraries/RainMaker/src/RMaker.cpp

Copy file name to clipboardExpand all lines: libraries/RainMaker/src/RMaker.cpp
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Node RMakerClass::initNode(const char *name, const char *type)
5050

5151
esp_err_t RMakerClass::start()
5252
{
53-
err = esp_rmaker_start();
53+
err = esp_rmaker_start();
5454
if(err != ESP_OK){
5555
log_e("ESP RainMaker core task failed");
5656
}
@@ -106,6 +106,7 @@ esp_err_t RMakerClass::enableOTA(ota_type_t type, const char *cert)
106106
{
107107
esp_rmaker_ota_config_t ota_config;
108108
ota_config.server_cert = cert;
109+
ota_config.ota_cb = NULL;
109110
err = esp_rmaker_ota_enable(&ota_config, type);
110111
if(err != ESP_OK) {
111112
log_e("OTA enable failed");

0 commit comments

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