Skip to content

Commit

Permalink
drivers: dac: sam: Fix typo in BUILD_ASSERT
Browse files Browse the repository at this point in the history
Fixed a typo in BUILD_ASSERT macro causing driver to effectively fail to
compile as seen in:
west twister -p sam_v71_xult/samv71q21b -s drivers.dac.api

Signed-off-by: Benjamin Cabé <[email protected]>
  • Loading branch information
kartben committed Jan 31, 2025
1 parent 88c7a44 commit 74cccfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dac/dac_sam.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(dac_sam, CONFIG_DAC_LOG_LEVEL);

BUILD_ASSERT(IS_ENABLED(CONFIG_SOC_SERIES_SAMX7X)
BUILD_ASSERT(IS_ENABLED(CONFIG_SOC_SERIES_SAMX7X),
"Only SAMx7x series devices are currently supported.");

#define DAC_CHANNEL_NO 2
Expand Down

0 comments on commit 74cccfa

Please sign in to comment.