From 0bcb013a7bae7815ac59c8b59302e2d9ed0b3f30 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 18 十月 2024 18:29:01 +0800 Subject: [PATCH] 车载帧间隔随着设备低功耗优化到400us,能实现较稳定测距 --- APL/uwb_app.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/APL/uwb_app.c b/APL/uwb_app.c index ab2886a..3f98a80 100644 --- a/APL/uwb_app.c +++ b/APL/uwb_app.c @@ -133,7 +133,7 @@ //deca_sleep(1000); - g_com_map[VERSION] = (1<<8)|0; + g_com_map[VERSION] = (1<<8)|5; udp_uwbenable = 1; @@ -259,7 +259,6 @@ //hardware_type=2; switch(hardware_type) {case 1: - HAL_GPIO_WritePin(GPIOB, MOTOR_Pin, GPIO_PIN_SET); GPIO_InitStruct.Pin = MOTOR_Pin; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; -- Gitblit v1.9.3