flash/nor/stm32f2x: Fix typos in log messages
Change-Id: I0f27e1c64972a58ac146c391761008cdca610afe Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Reviewed-on: https://review.openocd.org/c/openocd/+/7614 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
This commit is contained in:
parent
5924d9f30c
commit
3733cf1961
|
@ -230,11 +230,11 @@ static int stm32x_otp_enable(struct flash_bank *bank)
|
||||||
struct stm32x_flash_bank *stm32x_info = bank->driver_priv;
|
struct stm32x_flash_bank *stm32x_info = bank->driver_priv;
|
||||||
|
|
||||||
if (!stm32x_info->otp_unlocked) {
|
if (!stm32x_info->otp_unlocked) {
|
||||||
LOG_INFO("OTP memory bank #%u is is enabled for write commands.",
|
LOG_INFO("OTP memory bank #%u is enabled for write commands.",
|
||||||
bank->bank_number);
|
bank->bank_number);
|
||||||
stm32x_info->otp_unlocked = true;
|
stm32x_info->otp_unlocked = true;
|
||||||
} else {
|
} else {
|
||||||
LOG_WARNING("OTP memory bank #%u is is already enabled for write commands.",
|
LOG_WARNING("OTP memory bank #%u is already enabled for write commands.",
|
||||||
bank->bank_number);
|
bank->bank_number);
|
||||||
}
|
}
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
|
|
Loading…
Reference in New Issue