refine defines of VL53L0
This commit is contained in:
parent
08e11d57c8
commit
4addfae3f8
|
@ -117,10 +117,10 @@ void Error_Handler(void);
|
|||
#define PME_OFF HAL_GPIO_WritePin(MEMS_POWER_GPIO_Port, MEMS_POWER_Pin, GPIO_PIN_RESET )
|
||||
#define PME_TOGGLE HAL_GPIO_TogglePin(MEMS_POWER_GPIO_Port, MEMS_POWER_Pin)
|
||||
|
||||
#if (defined(TOF_1)||defined(TOF_2)||defined(STS_R1)||defined(STS_R5)||defined(STS_R1D))
|
||||
#define VL53L0 1U
|
||||
#if (defined(TOF_1)||defined(TOF_2)||defined(STS_R1)||defined(STS_R2)||defined(STS_R5)||defined(STS_R1D)||defined(STS_R1x)||defined(STS_R2x)||defined(STS_R5x))
|
||||
#define VL53L0 1U
|
||||
#elif (defined(STS_P2)||defined(STS_T6))
|
||||
#define VL53LX 1U
|
||||
#define VL53LX 1U
|
||||
#endif
|
||||
|
||||
/* DUAL TOF VL53L0 */
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "sys_app.h"
|
||||
#include "yunhorn_sts_sensors.h"
|
||||
|
||||
#if defined(VL53L0)||(VL53L0 == 1)
|
||||
#if defined(VL53L0)
|
||||
/**
|
||||
* @defgroup Configuration Static configuration
|
||||
* @{
|
||||
|
|
Loading…
Reference in New Issue