Remove non default args to SSD1306 ctor
This commit is contained in:
parent
0c55b0320d
commit
e0d9da4d47
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ public:
|
|||
bool begin() {
|
||||
// Attempt to create and allocate a SSD1306 obj.
|
||||
_display = new Adafruit_SSD1306(_width, _height, _i2c);
|
||||
if (!_display->begin(SSD1306_SWITCHCAPVCC, _sensorAddress, false, false))
|
||||
if (!_display->begin(SSD1306_SWITCHCAPVCC, _sensorAddress))
|
||||
return false;
|
||||
// Configure the rotation, text size and color
|
||||
_display->setRotation(_rotation);
|
||||
|
|
|
|||
Loading…
Reference in a new issue