Get the CSR

This commit is contained in:
2024-08-16 11:51:33 +02:00
parent 0c11703cea
commit 9966904e4d
4 changed files with 80 additions and 2 deletions

View File

@ -31,7 +31,7 @@ void storage_set_dev_name(const char *name)
ESP_ERROR_CHECK(nvs_open(STORAGE_NAMESPACE, NVS_READWRITE, &my_handle));
ESP_ERROR_CHECK(nvs_set_blob(my_handle, DEV_NAME_KEY, name, strlen(name)));
ESP_ERROR_CHECK(nvs_set_blob(my_handle, DEV_NAME_KEY, name, strlen(name) + 1));
nvs_close(my_handle);
}