More logging for effect changes in cycle effect.
This commit is contained in:
parent
7cbb156b66
commit
b0c1bcaa65
@ -25,8 +25,13 @@ void CycleEffect::changeEffect() {
|
|||||||
LOGln("CycleEffect * Searching for new effect '%s'", cycle_effects[new_id]);
|
LOGln("CycleEffect * Searching for new effect '%s'", cycle_effects[new_id]);
|
||||||
delay(25);
|
delay(25);
|
||||||
effect = select_effect( crc32String(cycle_effects[new_id]) );
|
effect = select_effect( crc32String(cycle_effects[new_id]) );
|
||||||
effect_id = new_id;
|
if (effect) {
|
||||||
effectSince = millis();
|
effect_id = new_id;
|
||||||
|
effectSince = millis();
|
||||||
|
LOGln("CycleEffect * Effect %s found", effect->get_name().c_str());
|
||||||
|
} else {
|
||||||
|
LOGln("CycleEffect * Effect NOT found");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean CycleEffect::can_be_shown_with_clock() {
|
boolean CycleEffect::can_be_shown_with_clock() {
|
||||||
|
Loading…
Reference in New Issue
Block a user