Auto full-combo Koibumi2000 in Taiko no Tatsujin CS5

Dependencies:   fll mbed-rtos mbed

Revision:
2:165723d41023
Parent:
1:1abcd83947bf
Child:
3:edbf31a8589f
--- a/main.cpp	Fri Feb 13 14:41:00 2015 +0000
+++ b/main.cpp	Sat Feb 14 04:49:28 2015 +0000
@@ -21,14 +21,14 @@
     Source* source = new Source(array, sizeof(array)/sizeof(button), true);
 
     // common pattern
-    Mail<button, QUEUE_SIZE>* btnQueue = new Mail<button, QUEUE_SIZE>();
+    Mail<button, MAIL_BOX_SIZE>* mail_box = new Mail<button, MAIL_BOX_SIZE>();
     Mutex* mutex = new Mutex();
 
-    Sink* sink = new Sink(source, btnQueue, mutex);
+    Sink* sink = new Sink(source, mail_box, mutex);
     rtos::RtosTimer buffer(sinkrun, osTimerPeriodic, (void *)sink);
 
     Ticker ticker;
-    Output* output = new Output(btnQueue);
+    Output* output = new Output(mail_box);
 
     buffer.start(PULL_PERIOD);
     ticker.attach(output, &Output::run, FRAME);