Skip to content

Commit

Permalink
Merge pull request #1278 from bdring/FixOLED
Browse files Browse the repository at this point in the history
Fixed recently-introduced bug in OLED code
  • Loading branch information
bdring authored Aug 2, 2024
2 parents 1493e85 + fb76e0e commit 0f9a326
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions FluidNC/src/OLED.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ typedef const uint8_t* font_t;

class OLED : public Channel, public Module {
public:
OLED(const char* name) : Module(name) {}
OLED(const char* name) : Channel(name), Module(name) {}
struct Layout {
uint8_t _x;
uint8_t _y;
Expand Down Expand Up @@ -81,8 +81,6 @@ class OLED : public Channel, public Module {
bool _error = false;

public:
OLED() : Channel("oled"), Module("oled") {}

OLED(const OLED&) = delete;
OLED(OLED&&) = delete;
OLED& operator=(const OLED&) = delete;
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ build_src_filter =
+<stdfs>
-<src/WebUI>
-<src/BTConfig.cpp>
-<src/OLED.cpp>
; -<src/OLED.cpp>

lib_extra_dirs =
libraries
Expand Down

0 comments on commit 0f9a326

Please sign in to comment.