Skip to content

Commit

Permalink
Merge branch 'dev-hw-atti' of https://github.com/UESTC404/Quadcopter
Browse files Browse the repository at this point in the history
…into dev-hw-atti
  • Loading branch information
xxyyttxx committed Dec 29, 2017
2 parents c351641 + 90ddfcd commit 4168cc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion project/p10-ANO/application/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ int main(void)
/* Enable the MY_COM1 Receive interrupt: this interrupt is generated when the
MY_COM1 receive data register is not empty */
USART_ITConfig(MY_COM1, USART_IT_RXNE, ENABLE);

PID_init();

for (i=0;;i++) {
Attitude();
PID_calculate();
Expand Down

0 comments on commit 4168cc6

Please sign in to comment.