zephyr/dts/common/freq.h
James Roy fb2b0f2b1c style: Inconsistent macro names changed
Fix incorrect header file pre-macro names in
'dts/common'.

Signed-off-by: James Roy <rruuaanng@outlook.com>
2024-12-25 12:40:56 +01:00

13 lines
273 B
C

/*
* Copyright (c) 2021 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_DTS_COMMON_FREQ_H_
#define ZEPHYR_DTS_COMMON_FREQ_H_
#define DT_FREQ_K(x) ((x) * 1000)
#define DT_FREQ_M(x) (DT_FREQ_K(x) * 1000)
#endif /* ZEPHYR_DTS_COMMON_FREQ_H_ */