|
|
@@ -1418,8 +1418,8 @@ void ctr_TG_Clear(uint16_t clear_timeout)
|
|
|
while(clear_count!=0)
|
|
|
{
|
|
|
#if PWM_EN == 0
|
|
|
- rt_pin_write(CLEAR_R,ON);
|
|
|
- rt_pin_write(CLEAR_L,OFF);
|
|
|
+ rt_pin_write(CLEAR_R,OFF);
|
|
|
+ rt_pin_write(CLEAR_L,ON);
|
|
|
#else
|
|
|
#if QINGSAO_IO == 1
|
|
|
Motor_Qingsao_R_PWM(OFF);
|
|
|
@@ -1446,8 +1446,8 @@ void ctr_TG_Clear(uint16_t clear_timeout)
|
|
|
while(clear_timeout!=clear_count)
|
|
|
{
|
|
|
#if PWM_EN == 0
|
|
|
- rt_pin_write(CLEAR_R,OFF);
|
|
|
- rt_pin_write(CLEAR_L,ON);
|
|
|
+ rt_pin_write(CLEAR_R,ON);
|
|
|
+ rt_pin_write(CLEAR_L,OFF);
|
|
|
#else
|
|
|
#if QINGSAO_IO == 1
|
|
|
Motor_Qingsao_R_PWM(ON);
|