diff --git a/src/flash/nor/stm32h7x.c b/src/flash/nor/stm32h7x.c index 26def3f00..72bfa5f5e 100644 --- a/src/flash/nor/stm32h7x.c +++ b/src/flash/nor/stm32h7x.c @@ -882,7 +882,7 @@ static int stm32x_probe(struct flash_bank *bank) return ERROR_FAIL; } - stm32x_info->probed = 1; + stm32x_info->probed = true; return ERROR_OK; }