From: Marc Schink Date: Wed, 1 Jul 2020 08:26:57 +0000 (+0200) Subject: flash/nor/stm32h7x: Use 'bool' data type X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=707291cf38175f01bfa6464ff8a7295e252d1f82;p=fw%2Fopenocd flash/nor/stm32h7x: Use 'bool' data type Change-Id: Ib9c567e2287f2a99172bd3bd35a81e3205cea421 Signed-off-by: Marc Schink Reviewed-on: http://openocd.zylin.com/5749 Tested-by: jenkins Reviewed-by: Christopher Head Reviewed-by: Antonio Borneo --- 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; }