Fix incorrect header file pre-macro names in 'dts/common'. Signed-off-by: James Roy <rruuaanng@outlook.com>
13 lines
273 B
C
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_ */
|