drivers: sensor: infineon: fix typo in calibration gain assertion
Corrected a typo in the calibration gain assertion Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
77d1276446
commit
98ba754013
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ static int xmc4xxx_temp_init(const struct device *dev)
|
|||
CONFIG_XMC4XXX_TEMP_CALIBRATE_OFFSET <= 63);
|
||||
|
||||
BUILD_ASSERT(CONFIG_XMC4XXX_TEMP_CALIBRATE_GAIN >= 0 &&
|
||||
CONFIG_XMC4XXX_TEMP_CALIBRATE_OFFSET <= 63);
|
||||
CONFIG_XMC4XXX_TEMP_CALIBRATE_GAIN <= 63);
|
||||
|
||||
XMC_SCU_CalibrateTemperatureSensor(CONFIG_XMC4XXX_TEMP_CALIBRATE_OFFSET & 0x7f,
|
||||
CONFIG_XMC4XXX_TEMP_CALIBRATE_GAIN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue