Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Magee <mjmagee991@gmail.com>
  • Loading branch information
ActuallyTaylor and mjmagee991 authored Jan 27, 2024
1 parent 9aa3b5e commit dec0e81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/HUDL/HUDL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ uint8_t HUDL::pageForCorner(Corner corner) {
return -1;
}
}

void HUDL::process() {
if (displayCounter >= REFRESH_RATE) {
displayCounter = 0;
Expand All @@ -155,4 +156,5 @@ void HUDL::process() {
displayCounter++;
}
}

}// namespace HUDL

0 comments on commit dec0e81

Please sign in to comment.