Remove non default args to SSD1306 ctor

This commit is contained in:
Tyeth Gundry 2025-07-09 17:13:01 +01:00
parent 0c55b0320d
commit e0d9da4d47

View file

@ -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);