Skip to content

Commit 03dcfee

Browse files
erwangonashif
authored andcommitted
drivers/clock_control: stm32h7: Fix line break on #error
Line break on #error directive is confusing github and ending up breaking syntax highligthing in github UI which makes me nervous during review. Convert error message to a one liner. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent f3910fd commit 03dcfee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/clock_control/clock_stm32_ll_h7.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@
151151
#endif
152152

153153
#if SYSCLK_FREQ != CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
154-
#error "Calculated CPU clock frequency (SYS clock) for M7 core doesn't match \
155-
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC"
154+
#error "SYS clock frequency for M7 core doesn't match CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC"
156155
#endif
157156

158157
/* end of clock feasability check */

0 commit comments

Comments
 (0)