tao_z
2021-07-10 9051da0184cf839037f1370c729b27bf065b9c95
USR/SRC/main.c
@@ -15,9 +15,18 @@
static void Comm_Task(void *p)
{
   // uint8_t step = 0;
   // step = get_hall_state();
   // SEGGER_RTT_printf(0, "Hall state is:%d!\n", step);
   // static uint16_t test_cnt = 0;
   // ++test_cnt;
   // if (test_cnt == 15)
   // {
   //    timer_channel_output_mode_config(TIMER0, MOTOR_OUT_CH_W, TIMER_OC_MODE_PWM0);
   //    timer_channel_output_state_config(TIMER0, MOTOR_OUT_CH_W, TIMER_CCX_ENABLE);
   // }
   // else if (test_cnt > 30)
   // {
   //    test_cnt = 0;
   //    timer_channel_output_state_config(TIMER0, MOTOR_OUT_CH_W, TIMER_CCX_DISABLE);
   // }
}
int main()