From ef7e7da431c3e7b6410f5fd2a6ad649c90690f4f Mon Sep 17 00:00:00 2001 From: xxyyttxx_air <893166601@qq.com> Date: Fri, 29 Dec 2017 21:21:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E7=94=B5=E6=9C=BAARR=E5=BD=93?= =?UTF-8?q?=E4=BD=9C=E6=8E=A7=E5=88=B6=E5=8F=82=E6=95=B0=E5=8F=91=E9=80=81?= =?UTF-8?q?=E7=BB=99=E4=B8=8A=E4=BD=8D=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/p10-ANO/application/data_transfer.c | 2 +- project/p10-ANO/application/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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;