Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5
Dependencies: fll mbed-rtos mbed
Diff: taiko.cpp
- Revision:
- 16:253d933a7633
- Parent:
- 15:ed0c2da735c2
- Child:
- 18:c5d3a4d6e8e5
--- a/taiko.cpp Mon Feb 16 07:13:09 2015 +0000 +++ b/taiko.cpp Mon Feb 16 12:09:04 2015 +0000 @@ -3,8 +3,6 @@ #include "fll.h" #include "taiko.h" -Serial pc(USBTX, USBRX); - button_t taiko2button(Taiko t) { @@ -62,7 +60,7 @@ } } } else { - if (passing < len / 2) { // in the former of this note + if (frame_i < 3) { // in the former of this note btn = taiko2button(n->taiko); } else if (passing + FRAME >= len - lag) { // final frame of this note frame_i = 0;