Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nrfconnect/sdk-nrf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d558ad2845b70b589bbc832f3a717bac46aeb47f
Choose a base ref
..
head repository: nrfconnect/sdk-nrf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 56cb9fe67aca66f1790c78ae701c60d18aca768e
Choose a head ref
Showing with 3 additions and 1 deletion.
  1. +3 −1 applications/nrf5340_audio/src/modules/led.c
4 changes: 3 additions & 1 deletion applications/nrf5340_audio/src/modules/led.c
Original file line number Diff line number Diff line change
@@ -49,10 +49,12 @@ struct led_units_cfg {
#error "No DT_NODELABEL(audioleds) found in overlay"
#endif

/* clang-format off */
#define LED_GPIO_DT_SPEC(led_node_id) \
static const struct gpio_dt_spec led_dt_gpio_spec_##led_node_id[] = { \
DT_FOREACH_PROP_ELEM_SEP(led_node_id, gpios, GPIO_DT_SPEC_GET_BY_IDX, (, )), \
DT_FOREACH_PROP_ELEM_SEP(led_node_id, gpios, GPIO_DT_SPEC_GET_BY_IDX, (,)), \
};
/* clang-format on */

#define LED_GPIO(led_node_id) \
{ \