jingfei195887 commented on code in PR #16738:
URL: https://github.com/apache/nuttx/pull/16738#discussion_r2215472930


##########
boards/xtensa/esp32/common/src/esp32_board_spiflash.c:
##########
@@ -406,23 +406,27 @@ static int init_storage_partition(void)
     }
 
 #else
+  int minor;
+  char path[32];
 
   ret = register_mtddriver("/dev/esp32flash", mtd, 0755, NULL);
   if (ret < 0)
     {
-      syslog(LOG_ERR, "ERROR: Failed to register MTD: %d\n", ret);
+        syslog(LOG_ERR, "ERROR: Failed to register MTD: %d\n", ret);

Review Comment:
   sorry, will fix that



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to