Skip to content

Commit

Permalink
Merge branch 'master' of ../Arduino-Helpers into new-input
Browse files Browse the repository at this point in the history
  • Loading branch information
tttapa committed Feb 8, 2021
2 parents 4adaf63 + 031686c commit 33ae4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AH/Hardware/LEDs/MAX7219SevenSegmentDisplay.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ class MAX7219SevenSegmentDisplay : public MAX7219_Base<SPIDriver> {
* The value/bit pattern to set the digit to.
*/
void sendDigit(uint16_t digit, uint8_t value) {
sendRaw((digit % 8) + 1, value, digit / 8);
this->sendRaw((digit % 8) + 1, value, digit / 8);
}

/**
* @brief Get the total number of digits in this chain of displays, i.e.
* eight times the number of chips.
*/
uint8_t getNumberOfDigits() const { return 8 * getChainLength(); }
uint8_t getNumberOfDigits() const { return 8 * this->getChainLength(); }

/**
* @brief Display a long integer to the display.
Expand Down

0 comments on commit 33ae4d3

Please sign in to comment.