Fixed constructor for latest mbed library.

Dependents:   Pinscape_Controller_v1 Pinscape_Controller Pinscape_Controller_V2_arnoz Pinscape_Controller_V2

Fork of FastIO by Erik -

Files at this revision

API Documentation at this revision

Comitter:
mjr
Date:
Fri Sep 25 18:49:20 2015 +0000
Parent:
11:327ae1d5fecb
Commit message:
Fixed constructor for mbed library update

Changed in this revision

FastIO.h Show annotated file Show diff for this revision Revisions of this file
diff -r 327ae1d5fecb -r 199aca52ac42 FastIO.h
--- a/FastIO.h	Tue Dec 23 11:47:08 2014 +0000
+++ b/FastIO.h	Fri Sep 25 18:49:20 2015 +0000
@@ -104,8 +104,8 @@
      * @param pin pin the FastOut object should be used for
      * @param initial (optional) initial state of the pin after construction: default is 0 (low)
      */
-    FastOut() {
-        FastInOut<pin>::FastInOut();
+    FastOut() : FastInOut<pin>()
+    {
         write(initial);
         SET_DIR_OUTPUT;
     }