Skip to content

Commit 89bf9f6

Browse files
committed
Correct full erase timeout
1 parent 9bcd9c5 commit 89bf9f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QSPI_Drivers/W25Q256/quadspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ CSP_QSPI_Erase_Chip(void) {
7171
return HAL_ERROR;
7272
}
7373

74-
if (QSPI_AutoPollingMemReady(HAL_QPSI_TIMEOUT_DEFAULT_VALUE) != HAL_OK) {
74+
if (QSPI_AutoPollingMemReady(W25Q256JW_BULK_ERASE_MAX_TIME) != HAL_OK) {
7575
return HAL_ERROR;
7676
}
7777

0 commit comments

Comments
 (0)