Six crescent shaped legs

Dependencies:   mbed

Revision:
12:8de7f5d56fe4
Parent:
8:c3af2a1c206c
Child:
14:4143ddddef1b
--- a/Encoder.cpp	Tue Apr 12 13:05:12 2016 +0000
+++ b/Encoder.cpp	Tue Apr 12 13:12:49 2016 +0000
@@ -1,6 +1,9 @@
 #include "Encoder.hpp"
 
-Encoder::Encoder(EncoderData nData) : data(nData), encA(data.encAPin), encB(data.encBPin), intA(data.encAPin), intB(data.encBPin)
+Encoder::Encoder(EncoderData nData) :
+    data(nData),
+    encA(data.encAPin), encB(data.encBPin),
+    intA(data.encAPin), intB(data.encBPin)
 {
     intA.rise(this, &Encoder::changeA);
     intA.fall(this, &Encoder::changeA);