Skip to content

Commit 7473567

Browse files
committed
drivers/sensor/vl53l0x: Remove unnecessary lib include check
vl53l0x driver is using an external library to build, located under: ext/hal/st/lib/sensor/vl53l0x. This library is expecting stdint.h lib to be available and to secure this for driver library inclusion work, a stdint.h file header check was done. This check was based on assumptions on possible header names for stdint.h. Due to recent renaming of the zephyr header files, this check was returning a false positive, generating warning at compilation. Rather than updated with new header names, remove this check, since driver porting is completed and stdint.h inclusion is actually done. Fixes zephyrproject-rtos#10134 Signed-off-by: Erwan Gouriou <[email protected]>
1 parent 95e8a58 commit 7473567

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/sensor/vl53l0x/vl53l0x_types.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,6 @@
2323
#error "Error NULL definition should be done. Please add required include "
2424
#endif
2525

26-
#if !defined(STDINT_H) && !defined(_GCC_STDINT_H) && !defined(__STDINT_DECLS) \
27-
&& !defined(_GCC_WRAP_STDINT_H) && !defined(_STDINT_H) \
28-
&& !defined(__INC_stdint_h__)
29-
#pragma message("Review type definition of STDINT define for your platform")
30-
#endif /* _STDINT_H */
31-
3226
/** use where fractional values are expected
3327
*
3428
* Given a floating point value f it's .16 bit point is (int)(f*(1<<16))

0 commit comments

Comments
 (0)