drivers: dac: dac_shell: consider buffered and internal options
The buffered and internal options were not assigned in the channel_cfg,
so they would end up at a random state.
The cfg struct is now properly zero-initialized and both options can
be set using optional parameters -b and -i.
Fixes #75884
Signed-off-by:
Martin Jäger <martin@libre.solar>
Loading
Please sign in to comment