ads1115 only
Fork of mbed by
Diff: AnalogOut.h
- Revision:
- 123:b0220dba8be7
- Parent:
- 122:f9eeca106725
--- a/AnalogOut.h Thu Jul 07 14:34:11 2016 +0100 +++ b/AnalogOut.h Fri Aug 12 13:04:35 2016 +0200 @@ -21,6 +21,7 @@ #if DEVICE_ANALOGOUT #include "analogout_api.h" +#include "PlatformMutex.h" namespace mbed { @@ -99,7 +100,6 @@ return ret; } -#ifdef MBED_OPERATORS /** An operator shorthand for write() */ AnalogOut& operator= (float percent) { @@ -120,7 +120,6 @@ // Underlying read call is thread safe return read(); } -#endif virtual ~AnalogOut() { // Do nothing