File tree Expand file tree Collapse file tree 7 files changed +19
-17
lines changed Expand file tree Collapse file tree 7 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 44
44
45
45
46
46
47
- #include "platform .h"
47
+ #include "vl53l7cx_platform .h"
48
48
49
49
/**
50
50
* @brief Current driver version.
@@ -378,7 +378,8 @@ typedef struct {
378
378
379
379
} VL53L7CX_ResultsData ;
380
380
381
-
381
+ #ifndef BLOCK_HEADER
382
+ #define BLOCK_HEADER
382
383
union Block_header {
383
384
uint32_t bytes ;
384
385
struct {
@@ -387,5 +388,6 @@ union Block_header {
387
388
uint32_t idx : 16 ;
388
389
};
389
390
};
391
+ #endif
390
392
391
393
#endif //VL53L7CX_API_H_
Original file line number Diff line number Diff line change 39
39
#ifndef VL53L7CX_BUFFERS_H_
40
40
#define VL53L7CX_BUFFERS_H_
41
41
42
- #include "platform .h"
42
+ #include "vl53l7cx_platform .h"
43
43
44
44
/**
45
45
* @brief Inner internal number of targets.
Original file line number Diff line number Diff line change 40
40
41
41
/* Includes ------------------------------------------------------------------*/
42
42
#include " Arduino.h"
43
- #include " platform .h"
43
+ #include " vl53l7cx_platform .h"
44
44
#include " vl53l7cx_api.h"
45
45
#include " vl53l7cx_plugin_detection_thresholds.h"
46
46
#include " vl53l7cx_plugin_motion_indicator.h"
File renamed without changes.
Original file line number Diff line number Diff line change 35
35
******************************************************************************
36
36
*/
37
37
38
- #ifndef _PLATFORM_H_
39
- #define _PLATFORM_H_
38
+ #ifndef _VL53L7_PLATFORM_H_
39
+ #define _VL53L7_PLATFORM_H_
40
40
#pragma once
41
41
42
42
#include <stdint.h>
43
43
#include <string.h>
44
44
#include <Arduino.h>
45
45
#include <Wire.h>
46
- #include "platform_config .h"
46
+ #include "vl53l7cx_platform_config .h"
47
47
48
48
49
49
#ifndef DEFAULT_I2C_BUFFER_LEN
@@ -78,4 +78,4 @@ typedef struct {
78
78
79
79
} VL53L7CX_Platform ;
80
80
81
- #endif // _PLATFORM_H_
81
+ #endif // _VL53L7_PLATFORM_H_
Original file line number Diff line number Diff line change 35
35
******************************************************************************
36
36
*/
37
37
38
- #ifndef _PLATFORM_CONFIG_H_
39
- #define _PLATFORM_CONFIG_H_
38
+ #ifndef _VL53L7CX_PLATFORM_CONFIG_H_
39
+ #define _VL53L7CX_PLATFORM_CONFIG_H_
40
40
41
- #if __has_include ("platform_config_custom .h" )
42
- #include "platform_config_custom .h"
41
+ #if __has_include ("vl53l7cx_platform_config_custom .h" )
42
+ #include "vl53l7cx_platform_config_custom .h"
43
43
#else
44
- #include "platform_config_default .h"
44
+ #include "vl53l7cx_platform_config_default .h"
45
45
#endif
46
46
47
- #endif // _PLATFORM_CONFIG_H_
47
+ #endif // _VL53L7CX_PLATFORM_CONFIG_H_
Original file line number Diff line number Diff line change 35
35
******************************************************************************
36
36
*/
37
37
38
- #ifndef _PLATFORM_CONFIG_DEFAULT_H_
39
- #define _PLATFORM_CONFIG_DEFAULT_H_
38
+ #ifndef _VL53L7CX_PLATFORM_CONFIG_DEFAULT_H_
39
+ #define _VL53L7CX_PLATFORM_CONFIG_DEFAULT_H_
40
40
41
41
/*
42
42
* @brief If you want to customize these defines you can add in the application
80
80
// #define VL53L7CX_DISABLE_TARGET_STATUS
81
81
// #define VL53L7CX_DISABLE_MOTION_INDICATOR
82
82
83
- #endif // _PLATFORM_CONFIG_DEFAULT_H_
83
+ #endif // _VL53L7CX_PLATFORM_CONFIG_DEFAULT_H_
You can’t perform that action at this time.
0 commit comments