Josh Goldberg / Mbed 2 deprecated count_pills

Dependencies:   Servo mbed

Revision:
1:9ebe670d8a19
Parent:
0:15d3cdafd311
--- a/util.cpp	Thu Dec 11 21:54:03 2014 +0000
+++ b/util.cpp	Fri Dec 12 01:18:01 2014 +0000
@@ -2,7 +2,7 @@
 #include "util.h"
 
 uint16_t mvgAvg(uint16_t val, int reset) {
-    const uint32_t len = 25;
+    const uint32_t len = 50;
     static uint16_t vals[len] = {0};
     static uint32_t ind = 0;
     static uint32_t full = 0;