update MonoOLED i2c constructor to match var def order (#290)

This commit is contained in:
Nicholas Asch 2020-05-17 10:39:25 -07:00 committed by GitHub
parent d2b4b25559
commit 0393044a8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,8 +62,8 @@
Adafruit_MonoOLED::Adafruit_MonoOLED(uint16_t w, uint16_t h, TwoWire *twi,
int8_t rst_pin, uint32_t clkDuring,
uint32_t clkAfter)
: Adafruit_GFX(w, h), buffer(NULL), dcPin(-1), csPin(-1), rstPin(rst_pin),
i2c_preclk(clkDuring), i2c_postclk(clkAfter) {
: Adafruit_GFX(w, h), i2c_preclk(clkDuring), i2c_postclk(clkAfter),
buffer(NULL), dcPin(-1), csPin(-1), rstPin(rst_pin) {
i2c_dev = NULL;
_theWire = twi;
}