mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 14:44:32 +02:00
Revert "freertos-smp: fix nvs_rw_value and nvs_rw_value_cxx tests"
This reverts commit 0d9b130cb6f7e4c88d526be3c86941108329f442.
This commit is contained in:
@@ -18,10 +18,6 @@
|
|||||||
|
|
||||||
void app_main(void)
|
void app_main(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_FREERTOS_SMP
|
|
||||||
printf("Running with SMP FreeRTOS configured.\r\n");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Initialize NVS
|
// Initialize NVS
|
||||||
esp_err_t err = nvs_flash_init();
|
esp_err_t err = nvs_flash_init();
|
||||||
if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) {
|
if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) {
|
||||||
|
@@ -19,10 +19,6 @@
|
|||||||
|
|
||||||
extern "C" void app_main(void)
|
extern "C" void app_main(void)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_FREERTOS_SMP
|
|
||||||
printf("Running with SMP FreeRTOS configured.\r\n");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Initialize NVS
|
// Initialize NVS
|
||||||
esp_err_t err = nvs_flash_init();
|
esp_err_t err = nvs_flash_init();
|
||||||
if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) {
|
if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) {
|
||||||
|
Reference in New Issue
Block a user