Skip to content

Commit 352db62

Browse files
Replace STRINGIFY with STR
Replace usage of zephyr specific STRINGIFY with OS agnostic STR. Signed-off-by: Sachin D Kulkarni <Sachin.Kulkarni@nordicsemi.no>
1 parent 7593939 commit 352db62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nrf70_bm_lib/source/radio_test/nrf70_bm_core.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ int nrf70_bm_rt_fmac_init(void)
8989
&tx_pwr_ctrl_params,
9090
&tx_pwr_ceil_params,
9191
&board_params,
92-
STRINGIFY(CONFIG_NRF70_REG_DOMAIN));
92+
STR(CONFIG_NRF70_REG_DOMAIN));
9393
if (status != NRF_WIFI_STATUS_SUCCESS) {
9494
NRF70_LOG_ERR("Failed to initialize device\n");
9595
goto deinit;

nrf70_bm_lib/source/system/nrf70_bm_core.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ int nrf70_bm_sys_fmac_init(void)
390390
&tx_pwr_ctrl_params,
391391
&tx_pwr_ceil_params,
392392
&board_params,
393-
STRINGIFY(CONFIG_NRF70_REG_DOMAIN));
393+
STR(CONFIG_NRF70_REG_DOMAIN));
394394
if (status != NRF_WIFI_STATUS_SUCCESS) {
395395
NRF70_LOG_ERR("Failed to initialize device\n");
396396
goto deinit;

0 commit comments

Comments
 (0)