File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343#include " Arduino.h"
4444#include " Wire.h"
4545#include " SPI.h"
46- #include " platform .h"
46+ #include " vl53l8cx_platform .h"
4747#include " vl53l8cx_api.h"
4848#include " vl53l8cx_plugin_detection_thresholds.h"
4949#include " vl53l8cx_plugin_motion_indicator.h"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ extern "C" {
2323
2424
2525
26- #include "platform .h"
26+ #include "vl53l8cx_platform .h"
2727
2828/**
2929 * @brief Current driver version.
@@ -274,7 +274,7 @@ extern "C" {
274274 */
275275
276276typedef struct {
277- /* Platform, filled by customer into the 'platform .h' file */
277+ /* Platform, filled by customer into the 'vl53l8cx_platform .h' file */
278278 VL53L8CX_Platform platform ;
279279 /* Results streamcount, value auto-incremented at each range */
280280 uint8_t streamcount ;
Original file line number Diff line number Diff line change 1919extern "C" {
2020#endif
2121
22- #include "platform .h"
22+ #include "vl53l8cx_platform .h"
2323
2424/**
2525 * @brief Inner internal number of targets.
Original file line number Diff line number Diff line change 11/**
22 ******************************************************************************
3- * @file platform .cpp
3+ * @file vl53l8cx_platform .cpp
44 * @author STMicroelectronics
55 * @version V1.0.0
66 * @date 11 November 2021
3636 */
3737
3838
39- #include "platform .h"
39+ #include "vl53l8cx_platform .h"
4040
4141
4242uint8_t VL53L8CX_RdByte (
Original file line number Diff line number Diff line change 11/**
22 ******************************************************************************
3- * @file platform .h
3+ * @file vl53l8cx_platform .h
44 * @author STMicroelectronics
55 * @version V1.0.0
66 * @date 11 November 2021
3535 ******************************************************************************
3636 */
3737
38- #ifndef _PLATFORM_H_
39- #define _PLATFORM_H_
38+ #ifndef _VL53L8CX_PLATFORM_H_
39+ #define _VL53L8CX_PLATFORM_H_
4040
4141#ifdef __cplusplus
4242extern "C" {
@@ -47,7 +47,7 @@ extern "C" {
4747
4848#include <stdint.h>
4949#include <string.h>
50- #include "platform_config .h"
50+ #include "vl53l8cx_platform_config .h"
5151
5252#define VL53L8CX_COMMS_CHUNK_SIZE 4096
5353#define SPI_WRITE_MASK (x ) (uint16_t)(x | 0x8000)
@@ -111,4 +111,4 @@ void VL53L8CX_SwapBuffer(
111111}
112112#endif
113113
114- #endif // _PLATFORM_H_
114+ #endif // _VL53L8CX_PLATFORM_H_
Original file line number Diff line number Diff line change 11/**
22 ******************************************************************************
3- * @file platform_config .h
3+ * @file vl53l8cx_platform_config .h
44 * @author STMicroelectronics
55 * @version V1.0.0
66 * @date 11 November 2021
3535 ******************************************************************************
3636 */
3737
38- #ifndef _PLATFORM_CONFIG_H_
39- #define _PLATFORM_CONFIG_H_
38+ #ifndef _VL53L8CX_PLATFORM_CONFIG_H_
39+ #define _VL53L8CX_PLATFORM_CONFIG_H_
4040
41- #if __has_include ("platform_config_custom .h" )
42- #include "platform_config_custom .h"
41+ #if __has_include ("vl53l8cx_platform_config_custom .h" )
42+ #include "vl53l8cx_platform_config_custom .h"
4343#else
44- #include "platform_config_default .h"
44+ #include "vl53l8cx_platform_config_default .h"
4545#endif
4646
47- #endif // _PLATFORM_CONFIG_H_
47+ #endif // _VL53L8CX_PLATFORM_CONFIG_H_
Original file line number Diff line number Diff line change 11/**
22 ******************************************************************************
3- * @file platform_config_default .h
3+ * @file vl53l8cx_platform_config_default .h
44 * @author STMicroelectronics
55 * @version V1.0.0
66 * @date 11 November 2021
3535 ******************************************************************************
3636 */
3737
38- #ifndef _PLATFORM_CONFIG_DEFAULT_H_
39- #define _PLATFORM_CONFIG_DEFAULT_H_
38+ #ifndef _VL53L8CX_PLATFORM_CONFIG_DEFAULT_H_
39+ #define _VL53L8CX_PLATFORM_CONFIG_DEFAULT_H_
4040
4141/*
4242 * @brief If you want to customize these defines you can add in the application
8080// #define VL53L8CX_DISABLE_TARGET_STATUS
8181// #define VL53L8CX_DISABLE_MOTION_INDICATOR
8282
83- #endif // _PLATFORM_CONFIG_DEFAULT_H_
83+ #endif // _VL53L8CX_PLATFORM_CONFIG_DEFAULT_H_
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ static uint8_t _vl53l8cx_poll_for_answer(
4545
4646/*
4747 * Inner function, not available outside this file. This function is used to
48- * program the output using the macro defined into the 'platform .h' file.
48+ * program the output using the macro defined into the 'vl53l8cx_platform .h' file.
4949 */
5050
5151static uint8_t _vl53l8cx_program_output_config (
You can’t perform that action at this time.
0 commit comments