Shohei Yasutake / Mbed 2 deprecated koibumi2000

Dependencies:   fll mbed-rtos mbed

Revision:
17:69536d02cb3c
Parent:
16:253d933a7633
Child:
26:08387521c994
Child:
31:2dbed2eea0f2
--- a/fll.cpp	Mon Feb 16 12:09:04 2015 +0000
+++ b/fll.cpp	Mon Feb 16 12:10:18 2015 +0000
@@ -62,7 +62,7 @@
 void Output::run()
 {
     osEvent e = mail_box->get(0);
-    if (e.status == osEventMail) { // getting is success 
+    if (e.status == osEventMail) { // getting is success
         button_t b = *(button_t*)(e.value.p);
         mail_box->free((button_t*)e.value.p);
         press(b);
@@ -131,17 +131,20 @@
 // ----
 // main
 // ----
-void fll_init() {
+void fll_init()
+{
     press(0);
 }
 
-void invoke_sinkrun(const void *p) {
+void invoke_sinkrun(const void *p)
+{
     ((Sink*)p)->run();
 }
 
 Serial pc(USBTX, USBRX);
 
-void fll_run(Producer* producer) {
+void fll_run(Producer* producer)
+{
     Mail<button_t, MAIL_BOX_SIZE>* mail_box = new Mail<button_t, MAIL_BOX_SIZE>();
     Mutex* mutex = new Mutex();