Commit 766d4ac7 authored by Vincent Veron's avatar Vincent Veron Committed by Kumar Gala
Browse files

ext: Fix warnings in vl53l0x ST library when compiling on Zephyr



Warning are present in the default ST source code, fix them here.

Signed-off-by: default avatarVincent Veron <vincent.veron@st.com>
parent 7fa2cac9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1793,7 +1793,7 @@ VL53L0X_Error VL53L0X_GetLimitCheckValue(VL53L0X_DEV Dev, uint16_t LimitCheckId,
	VL53L0X_Error Status = VL53L0X_ERROR_NONE;
	uint8_t EnableZeroValue = 0;
	uint16_t Temp16;
	FixPoint1616_t TempFix1616;
	FixPoint1616_t TempFix1616=0;

	LOG_FUNCTION_START("");

@@ -2718,7 +2718,7 @@ VL53L0X_Error VL53L0X_GetGpioConfig(VL53L0X_DEV Dev, uint8_t Pin,
	VL53L0X_InterruptPolarity *pPolarity)
{
	VL53L0X_Error Status = VL53L0X_ERROR_NONE;
	VL53L0X_GpioFunctionality GpioFunctionality;
	VL53L0X_GpioFunctionality GpioFunctionality = VL53L0X_GPIOFUNCTIONALITY_OFF;
	uint8_t data;

	LOG_FUNCTION_START("");