Skip to content

Commit

Permalink
#45
Browse files Browse the repository at this point in the history
  • Loading branch information
moononournation committed Nov 13, 2023
1 parent b952bcc commit 2e41d5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/databus/Arduino_Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class Arduino_Wire : public Arduino_DataBus
uint8_t output_buf = 0;
bool is_found;

TwoWire *_wire;
uint8_t _i2c_addr;
TwoWire *_wire;

int32_t _speed;
private:
Expand Down
2 changes: 1 addition & 1 deletion src/display/Arduino_SH1106.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#define SH110X_SETSTARTLINE 0x40

Arduino_SH1106::Arduino_SH1106(Arduino_DataBus *bus, int8_t rst, int16_t w, int16_t h)
: Arduino_G(w, h), _width(w), _height(h), _bus(bus), _rst(rst)
: Arduino_G(w, h), _bus(bus), _rst(rst)
{
_rotation = 0;
_pages = (h + 7) / 8;
Expand Down
4 changes: 1 addition & 3 deletions src/display/Arduino_SH1106.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ class Arduino_SH1106 : public Arduino_G

protected:
Arduino_DataBus *_bus;
int8_t _width; //
int8_t _height; //
int8_t _pages; //
int8_t _rst;
int8_t _pages;
uint8_t _rotation;

private:
Expand Down

0 comments on commit 2e41d5e

Please sign in to comment.