1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 19:16:34 +00:00

Avoid test repetition.

This commit is contained in:
Thomas Harte
2026-04-03 22:40:57 -04:00
parent 86a846ced9
commit 072ce6b9fc
+1 -1
View File
@@ -171,7 +171,7 @@ void BinaryTapePlayer::set_motor_control(const bool enabled) {
void BinaryTapePlayer::update_observer() {
const bool lit = motor_is_running_ && !is_at_end();
if(observer_ && lit != observer_lit_) {
observer_->set_led_status(LEDName, motor_is_running_ && !is_at_end());
observer_->set_led_status(LEDName, lit);
observer_lit_ = lit;
}
}