1.emmc报错log加上

This commit is contained in:
payton 2024-02-05 17:01:01 +08:00
parent 6cb404dfcc
commit e07f04bcba

View File

@ -2353,10 +2353,10 @@ int nvt_fw_update(bool firm_upd_firm)
extern struct mmc *init_mmc_device(int dev, bool force_init); extern struct mmc *init_mmc_device(int dev, bool force_init);
struct mmc *mmc; struct mmc *mmc;
mmc = init_mmc_device(curr_device, false); mmc = init_mmc_device(curr_device, false);
// if (!mmc) { if (!mmc) {
// printf("Get eMMc device failed\n\r"); printf("Get eMMc device failed\n\r");
// return ERR_NVT_UPDATE_OPENFAILED; // return ERR_NVT_UPDATE_OPENFAILED;
// } }
typedef int (*set_blk_dev_cb)(void); typedef int (*set_blk_dev_cb)(void);
set_blk_dev_cb nvt_fs_set_blk_dev_cb = NULL; set_blk_dev_cb nvt_fs_set_blk_dev_cb = NULL;