Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HCSR04_2 MPU6050_2 mbed SDFileSystem3
Fork of Autoflight2018_37 by
Revision 32:48d5d3f77c41, committed 2018-09-22
- Comitter:
- taknokolat
- Date:
- Sat Sep 22 10:41:41 2018 +0000
- Parent:
- 31:dba3216c2755
- Commit message:
- a
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Sep 22 09:46:42 2018 +0000 +++ b/main.cpp Sat Sep 22 10:41:41 2018 +0000 @@ -562,6 +562,7 @@ if(count_op > changeModeCount){ operation_mode = BombwithPC; pc.printf("Goto Bombing mode\r\n"); + pc.attach(getSF_Serial, Serial::RxIrq); count_op = 0; } }else count_op = 0; @@ -574,6 +575,7 @@ if(count_op > changeModeCount){ operation_mode = RightLoop; pc.printf("Goto RightLoop mode\r\n"); + pc.attach(NULL, Serial::RxIrq); count_op = 0; } }else count_op = 0;