Psi Swarm robot library version 0.9
Fork of PsiSwarmV9 by
Diff: demo.cpp
- Revision:
- 19:3e3b03d80ea3
- Parent:
- 18:9204f74069b4
- Child:
- 20:2b6ebe60929d
diff -r 9204f74069b4 -r 3e3b03d80ea3 demo.cpp --- a/demo.cpp Sun Jun 04 20:22:41 2017 +0000 +++ b/demo.cpp Mon Jun 05 22:47:14 2017 +0000 @@ -506,6 +506,7 @@ } else { top_menu --; if(use_flash_basic == 0 && top_menu == 8) top_menu = 7; + if(has_433_radio == 0 && top_menu == 4) top_menu = 3; } break; case 1: @@ -548,6 +549,7 @@ case 0: top_menu ++; if(top_menu == 8 && use_flash_basic == 0) top_menu = 9; + if(has_433_radio == 0 && top_menu == 4) top_menu = 5; if((top_menu) > 9) top_menu = 0; break; case 1: