mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 09:48:31 +08:00
21c19b7824
Previously the ioctl-based configuration was not encoded properly. It lacked the three command bits selecting the "set volatile configuration" mode. Thus, configuration the reference, power-down or gain resulted in no change. Now the configuration is properly applied. The DAC value to be send is now combined with the proper command prefix bits, too. But this operation was already working, since the command prefix is zero. Signed-off-by: Lars Kruse <devel@sumpfralle.de>