diff --git a/project/p10-ANO/application/data_transfer.c b/project/p10-ANO/application/data_transfer.c index a213a02..7d4f11f 100644 --- a/project/p10-ANO/application/data_transfer.c +++ b/project/p10-ANO/application/data_transfer.c @@ -99,7 +99,7 @@ void ANO_DT_Data_Exchange(void) f.send_rcdata = 0; // void ANO_DT_Send_RCData(u16 thr,u16 yaw,u16 rol,u16 pit,u16 aux1,u16 aux2,u16 aux3,u16 aux4,u16 aux5,u16 aux6); // ANO_DT_Send_RCData(Rc_Pwm_In[0],Rc_Pwm_In[1],Rc_Pwm_In[2],Rc_Pwm_In[3],Rc_Pwm_In[4],Rc_Pwm_In[5],Rc_Pwm_In[6],Rc_Pwm_In[7],0,0); - ANO_DT_Send_RCData(u16Rcvr_ch3, u16Rcvr_ch4, u16Rcvr_ch1, u16Rcvr_ch2, 5,6,7,8,9,10); + ANO_DT_Send_RCData(u16Rcvr_ch3, u16Rcvr_ch4, u16Rcvr_ch1, u16Rcvr_ch2, motor_pwm_1, motor_pwm_2, motor_pwm_3, motor_pwm_4, 9, 10); #ifdef debug_ void Usart2_Send(uint8_t *data_to_send, uint32_t length); Usart2_Send("\r\nhere?,why no?\r\n", sizeof "\r\nhere?,why no?\r\n"); diff --git a/project/p10-ANO/application/main.c b/project/p10-ANO/application/main.c index 2f4335c..d301b88 100644 --- a/project/p10-ANO/application/main.c +++ b/project/p10-ANO/application/main.c @@ -13,6 +13,7 @@ void my2_ANO_DT_Data_Receive_Anl(void); /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ +#define ndebug /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ int i;