experimental fork

Dependencies:   NOKIA_5110 mbed

Revision:
3:0a89a80bea94
Parent:
2:66a2e52ad175
Child:
4:87037e41c888
--- a/main.cpp	Tue Oct 04 16:45:02 2016 +0000
+++ b/main.cpp	Tue Oct 04 17:08:38 2016 +0000
@@ -182,13 +182,12 @@
 hv1monitor.attach(&hv1monitor_, 0.1);
 hv2monitor.attach(&hv2monitor_, 0.1);
 
-
 //ticker to monitor memory usage 
 memory_checker.attach(&memory_checker_, 0.2);
     while(1){
-        if(detections.size() > 1){
+        while(!detections.empty()){
             Detection temp = detections.front();
-            pc.printf("%d, %d, %f, %f, %f \nr", detections.size(), temp.get_channel(), temp.get_time(), v1, v2);
+            pc.printf("%d, %d, %f, %f, %f \n\r", detections.size(), temp.get_channel(), temp.get_time(), v1, v2);
             detections.pop();
             }
         wait(1);