sentry_gimbal_hzz/bsp/bsp_temperature.c

10 lines
155 B
C
Raw Normal View History

2022-10-20 17:13:02 +08:00
#include "bsp_temperature.h"
extern TIM_HandleTypeDef htim10;
void imu_pwm_set(uint16_t pwm)
{
__HAL_TIM_SetCompare(&htim10, TIM_CHANNEL_1, pwm);
}