Skip to content

Commit

Permalink
Fix LCDDisplayDisplay::setLine() OBOE
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Nov 2, 2020
1 parent e64592f commit daccfcb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Display/MCU/LCDDisplay.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,10 @@ class LCDDisplay : public DisplayElement {
return true;
}

void setLine(uint8_t line) { this->line = line; }
/// Set the line number of the LCD to display.
/// @param line
/// Either 1 or 2.
void setLine(uint8_t line) { this->line = line - 1; }

private:
MCU::LCD<> &lcd;
Expand Down

0 comments on commit daccfcb

Please sign in to comment.