Skip to content
Commit 050323f0 authored by Sam Hurst's avatar Sam Hurst Committed by Anas Nashif
Browse files

stm32: Use DT_NUM_INST_STATUS_OKAY for num IRQ sources



Use DT_NUM_INST_STATUS_OKAY(DT_DRV_COMPAT) to determine
number of potential interrupt sources. This mitigates
the wasting of memory on devices with mutliple UCPD ports
but only one UCPD port is used.

Signed-off-by: default avatarSam Hurst <sbh1187@gmail.com>
parent 99e07709
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment