This commit is contained in:
2026-04-12 21:30:29 +08:00
parent ee893d1095
commit d0b3771bf9
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ static void CalcOffsetAngle()
* @brief 控制输入为遥控器(调试时)的模式和控制量设置 * @brief 控制输入为遥控器(调试时)的模式和控制量设置
* *
*/ */
int aaaa;
static void RemoteControlSet() static void RemoteControlSet()
{ {
memset(&rc_data->key_count, 0, sizeof(rc_data->key_count)); memset(&rc_data->key_count, 0, sizeof(rc_data->key_count));

View File

@@ -10,7 +10,7 @@ void BuzzerInit()
__HAL_TIM_SetCompare(&htim4, TIM_CHANNEL_3, 0); __HAL_TIM_SetCompare(&htim4, TIM_CHANNEL_3, 0);
} }
void BuzzerOn( ) void BuzzerOn()
{ {
static int16_t temp = 4000 ; static int16_t temp = 4000 ;
if(temp < 1000) if(temp < 1000)