Adafruit
Diff: Adafruit_SSD1306.h
- Revision:
- 3:969ca9fe5e2b
- Parent:
- 0:c3dcd4c4983a
- Child:
- 6:1be3e3b46eb7
diff -r 7bcea45e60d8 -r 969ca9fe5e2b Adafruit_SSD1306.h --- a/Adafruit_SSD1306.h Sun Aug 19 23:03:40 2012 +0000 +++ b/Adafruit_SSD1306.h Wed Jan 23 02:43:38 2013 +0000 @@ -89,7 +89,7 @@ class DigitalOut2 : public DigitalOut { public: - DigitalOut2(PinName pin, bool active = false, const char *name = NULL) : DigitalOut(pin,name) { write(active); }; + DigitalOut2(PinName pin, bool active = false) : DigitalOut(pin) { write(active); }; DigitalOut2& operator= (int value) { write(value); return *this; }; DigitalOut2& operator= (DigitalOut2& rhs) { write(rhs.read()); return *this; }; operator int() { return read(); };