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
|
@ -145,10 +145,10 @@ extern DioIrqHandler *DioIrq[];
|
|||
DT_INST_PROP_LEN(inst, dio_gpios)
|
||||
|
||||
#define SX127X_DIO_GPIO_ELEM(idx, inst) \
|
||||
GPIO_DT_SPEC_INST_GET_BY_IDX(inst, dio_gpios, idx),
|
||||
GPIO_DT_SPEC_INST_GET_BY_IDX(inst, dio_gpios, idx)
|
||||
|
||||
#define SX127X_DIO_GPIO_INIT(n) \
|
||||
UTIL_LISTIFY(SX127X_DIO_GPIO_LEN(n), SX127X_DIO_GPIO_ELEM, n)
|
||||
LISTIFY(SX127X_DIO_GPIO_LEN(n), SX127X_DIO_GPIO_ELEM, (,), n)
|
||||
|
||||
static const struct gpio_dt_spec sx127x_dios[] = { SX127X_DIO_GPIO_INIT(0) };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue