Skip to content

Commit

Permalink
consistent bool
Browse files Browse the repository at this point in the history
  • Loading branch information
caternuson committed Nov 27, 2021
1 parent ca0c706 commit d63ad3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Adafruit_LEDBackpack.cpp
Expand Up @@ -692,7 +692,7 @@ void Adafruit_7segment::writeColon(void) {
i2c_dev->write(buffer, 3);
}

void Adafruit_7segment::writeDigitNum(uint8_t d, uint8_t num, boolean dot) {
void Adafruit_7segment::writeDigitNum(uint8_t d, uint8_t num, bool dot) {
if (d > 4 || num > 15)
return;

Expand Down Expand Up @@ -723,7 +723,7 @@ void Adafruit_7segment::writeDigitNum(uint8_t d, uint8_t num, boolean dot) {
writeDigitAscii(d, num + 48, dot); // use ASCII offset
}

void Adafruit_7segment::writeDigitAscii(uint8_t d, uint8_t c, boolean dot) {
void Adafruit_7segment::writeDigitAscii(uint8_t d, uint8_t c, bool dot) {
if (d > 4)
return;

Expand Down

0 comments on commit d63ad3a

Please sign in to comment.