Skip to content

Commit

Permalink
Some Fixes to Transition.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dbambus committed May 20, 2024
1 parent ae18a72 commit e49121a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/Transitiontypes/Transition.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ Transition::~Transition() {
// instead of the time during the animation. Birthdays before 1900 are not
// animated.

bool Transition::isSpecialEvent(Transition_t &type, struct tm &tm) {
bool Transition::isSpecialEvent(Transition_t &type, struct tm &tm,
bool trigger) {
static uint8_t minutesAfterMidnight;

if (trigger) {
Expand Down Expand Up @@ -1048,7 +1049,6 @@ void Transition::loop(struct tm &tm) {
}
transitionColorChange();
copy2Stripe(work);
setMinute(); // TODO: Is setMinute() on the right place ?
led.show();
}
}
Expand Down

0 comments on commit e49121a

Please sign in to comment.