mspi: fix build failure under assertion disable

This commit is contained in:
Armando
2023-03-21 10:14:59 +08:00
parent bb9200acec
commit eee34bcf70
2 changed files with 10 additions and 0 deletions

View File

@@ -238,6 +238,7 @@ static inline mspi_timing_ll_flash_mode_t mspi_timing_ll_get_flash_mode(uint8_t
return MSPI_TIMING_LL_FLASH_SLOW_MODE;
default:
HAL_ASSERT(false);
return 0;
}
}