Fixed constructor for latest mbed library.
Dependents: Pinscape_Controller_v1 Pinscape_Controller Pinscape_Controller_V2_arnoz Pinscape_Controller_V2
Fork of FastIO by
Diff: FastIO.h
- Revision:
- 12:199aca52ac42
- Parent:
- 11:327ae1d5fecb
--- 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; }