You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
include: zephyr: drivers: adc.h: Replace FOREACH with CHILD_BY_REG_ADDR
The macro to initialise a struct adc_dt_spec instance uses a FOREACH macro,
which can be problematic when nesting in other FOREACH macros, for example
in driver implementations.
Replace it with DT_CHILD_BY_REG_ADDR.
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
0 commit comments