Skip to content

Commit

Permalink
Fix Wristband setBrightness
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Dec 19, 2023
1 parent 4e1b24a commit 28e10e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LilyGo_Wristband.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ void LilyGo_Wristband::setBrightness(uint8_t level)
{
lcd_cmd_t t = {0x51, {level}, 1};
writeCommand(t.addr, t.param, t.len);
_brightness = level;
}

uint8_t LilyGo_Wristband::getBrightness()
Expand Down

0 comments on commit 28e10e6

Please sign in to comment.