We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a4125 commit bc83c0aCopy full SHA for bc83c0a
components/usb/esp_tinyuf2/esp_tinyuf2.h
@@ -36,7 +36,7 @@ typedef void (*update_complete_cb_t)(void);
36
* @brief user callback called after nvs modified
37
*
38
*/
39
-typedef void (*nvs_modified_cb_t)(void);
+typedef void (*nvs_modified_cb_t)(const char*);
40
41
/**
42
* @brief tinyuf2 configurations
components/usb/esp_tinyuf2/uf2/board_flash.c
@@ -314,7 +314,7 @@ void board_flash_nvs_update(const char *ini_str)
314
}
315
ini_parse_to_nvs(ini_str);
316
if (_modified_cb) {
317
- _modified_cb();
+ _modified_cb(ini_str);
318
319
320
0 commit comments