Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5

Dependencies:   fll mbed-rtos mbed

Revision:
1:1abcd83947bf
Parent:
0:c80e972b4c59
Child:
2:165723d41023
--- a/main.cpp	Fri Feb 13 13:19:29 2015 +0000
+++ b/main.cpp	Fri Feb 13 14:41:00 2015 +0000
@@ -16,9 +16,9 @@
 
 int main(void)
 {
-    std::vector<button> vec(B_CIRCLE);
+    button array[] = {R1|B_CIRCLE, 0};
     // user must make Source
-    Source* source = new Source(&vec, true);
+    Source* source = new Source(array, sizeof(array)/sizeof(button), true);
 
     // common pattern
     Mail<button, QUEUE_SIZE>* btnQueue = new Mail<button, QUEUE_SIZE>();
@@ -33,5 +33,5 @@
     buffer.start(PULL_PERIOD);
     ticker.attach(output, &Output::run, FRAME);
 
-    while (true) {} // ?
+    Thread::wait(osWaitForever);
 }