all: Deprecate UTIL_LISTIFY and replace with LISTIFY
UTIL_LISTIFY is deprecated. Replacing it with LISTIFY. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
9b30b959d5
commit
47ae656cc1
42 changed files with 206 additions and 232 deletions
|
@ -55,13 +55,13 @@ static struct modbus_serial_config modbus_serial_cfg[] = {
|
|||
.iface_name = "RAW_"#x, \
|
||||
.raw_tx_cb = NULL, \
|
||||
.mode = MODBUS_MODE_RAW, \
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
static struct modbus_context mb_ctx_tbl[] = {
|
||||
DT_INST_FOREACH_STATUS_OKAY(MODBUS_DT_GET_DEV)
|
||||
#ifdef CONFIG_MODBUS_RAW_ADU
|
||||
UTIL_LISTIFY(CONFIG_MODBUS_NUMOF_RAW_ADU, DEFINE_MODBUS_RAW_ADU, _)
|
||||
LISTIFY(CONFIG_MODBUS_NUMOF_RAW_ADU, DEFINE_MODBUS_RAW_ADU, (,), _)
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue