Merge branch 'master' of http://gitea.yunhorn.com/sundp/STS_RR_R125
This commit is contained in:
commit
5ea010dbd8
|
@ -120,9 +120,9 @@ void MX_TOF_Init(void);
|
||||||
/* TOF_1 */
|
/* TOF_1 */
|
||||||
|
|
||||||
#if defined(TOF_1)
|
#if defined(TOF_1)
|
||||||
#define TOF_C_INT_Pin GPIO_PIN_10
|
#define TOF_C_INT_Pin GPIO_PIN_5
|
||||||
#define TOF_C_INT_GPIO_Port GPIOA
|
#define TOF_C_INT_GPIO_Port GPIOB
|
||||||
#define TOF_C_INT_EXTI_IRQn EXTI15_10_IRQn
|
#define TOF_C_INT_EXTI_IRQn EXTI9_5_IRQn
|
||||||
#define TOF_C_XSHUT_Pin GPIO_PIN_3
|
#define TOF_C_XSHUT_Pin GPIO_PIN_3
|
||||||
#define TOF_C_XSHUT_GPIO_Port GPIOB
|
#define TOF_C_XSHUT_GPIO_Port GPIOB
|
||||||
#endif
|
#endif
|
||||||
|
@ -140,11 +140,11 @@ void MX_TOF_Init(void);
|
||||||
|
|
||||||
/* TOF_2 */
|
/* TOF_2 */
|
||||||
#if defined(TOF_2) && defined(STM32WLE5xx)
|
#if defined(TOF_2) && defined(STM32WLE5xx)
|
||||||
#define TOF_L_INT_Pin GPIO_PIN_10
|
#define TOF_L_INT_Pin GPIO_PIN_5
|
||||||
#define TOF_L_INT_GPIO_Port GPIOA
|
#define TOF_L_INT_GPIO_Port GPIOB
|
||||||
#define TOF_L_INT_EXTI_IRQn EXTI15_10_IRQn
|
#define TOF_L_INT_EXTI_IRQn EXTI9_5_IRQn
|
||||||
#define TOF_L_XSHUT_Pin GPIO_PIN_2
|
#define TOF_L_XSHUT_Pin GPIO_PIN_9
|
||||||
#define TOF_L_XSHUT_GPIO_Port GPIOB
|
#define TOF_L_XSHUT_GPIO_Port GPIOA
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -53,5 +53,5 @@
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
|
|
||||||
@par Keywords
|
@par Keywords
|
||||||
|
|
||||||
*/
|
*/
|
Loading…
Reference in New Issue