Tiny change in the order of the initializers to eliminate compiler warning.

Dependents:   Smart-WiFly-WebServer

Fork of C12832 by Chris Styles

Files at this revision

API Documentation at this revision

Comitter:
WiredHome
Date:
Mon Feb 02 03:01:55 2015 +0000
Parent:
16:7de323fa46fe
Commit message:
Swap the initializers around to reduce the warning count to zero.

Changed in this revision

C12832.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7de323fa46fe -r e37a0e1a97a1 C12832.cpp
--- a/C12832.cpp	Wed Feb 05 14:25:16 2014 +0000
+++ b/C12832.cpp	Mon Feb 02 03:01:55 2015 +0000
@@ -29,7 +29,7 @@
 
 
 C12832::C12832(PinName mosi, PinName sck, PinName reset, PinName a0, PinName ncs, const char* name)
-    : _spi(mosi,NC,sck),_reset(reset),_A0(a0),_CS(ncs),GraphicsDisplay(name)
+    : GraphicsDisplay(name),_spi(mosi,NC,sck),_reset(reset),_A0(a0),_CS(ncs)
 {
     orientation = 1;
     draw_mode = NORMAL;