Skip to content

Commit 6065569

Browse files
nika-nordicmasz-nordic
authored andcommitted
[nrf fromlist] modules: hal_nordic: nrfx: cmake: fix indentation tabs
Spaces should be used for indentation. Upstream PR #: 99399 Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
1 parent dbc1534 commit 6065569

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/hal_nordic/nrfx/CMakeLists.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ if(DEFINED uicr_path)
205205
endif()
206206

207207
if(CONFIG_SOC_NRF54L_CPUAPP_COMMON)
208-
# Ideally, hfpll should taken as a phandle from clocks property from cpu but it
209-
# seems that there is no such option in DT cmake functions. Assuming that nrf54l
210-
# is using hfpll as CPU clock source (true for all existing devices).
211-
dt_prop(clock_frequency PATH "/clocks/hfpll" PROPERTY "clock-frequency")
212-
math(EXPR clock_frequency_mhz "${clock_frequency} / 1000000")
213-
zephyr_compile_definitions("NRF_CONFIG_CPU_FREQ_MHZ=${clock_frequency_mhz}")
208+
# Ideally, hfpll should taken as a phandle from clocks property from cpu but it
209+
# seems that there is no such option in DT cmake functions. Assuming that nrf54l
210+
# is using hfpll as CPU clock source (true for all existing devices).
211+
dt_prop(clock_frequency PATH "/clocks/hfpll" PROPERTY "clock-frequency")
212+
math(EXPR clock_frequency_mhz "${clock_frequency} / 1000000")
213+
zephyr_compile_definitions("NRF_CONFIG_CPU_FREQ_MHZ=${clock_frequency_mhz}")
214214
endif()
215215

216216
zephyr_compile_definitions_ifdef(CONFIG_NRF_SKIP_CLOCK_CONFIG NRF_SKIP_CLOCK_CONFIGURATION)

0 commit comments

Comments
 (0)