From f3d60dfcaf93719d6d98bf2f00bfa9aeef12f1c9 Mon Sep 17 00:00:00 2001 From: Tim Churches Date: Sun, 25 Oct 2015 17:41:55 +1100 Subject: [PATCH] Minor bug fixes prior to v0.6-beta release --- peaks/ui.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/peaks/ui.cc b/peaks/ui.cc index 95d36c4..832fdfe 100755 --- a/peaks/ui.cc +++ b/peaks/ui.cc @@ -164,7 +164,7 @@ inline void Ui::RefreshLeds() { if ((system_clock.milliseconds() & 256) && function() > FUNCTION_LAST_BASIC_FUNCTION) { switch (function()) { - // x = on blinking, X = on constant, 0 = off + // x = on constantly, X = blinking, 0 = off // extended ENV functions case FUNCTION_DUAL_ATTACK_ENVELOPE: case FUNCTION_REPEATING_ATTACK_ENVELOPE: @@ -200,7 +200,7 @@ inline void Ui::RefreshLeds() { } } else { switch (function()) { - // x = on blinking, X = on constant, 0 = off + // x = on constantly, X = blinking, 0 = off // extended ENV functions case FUNCTION_DUAL_ATTACK_ENVELOPE: leds_.set_pattern(3); // top LED-> x X 0 0 @@ -506,7 +506,7 @@ void Ui::OnSwitchReleased(const Event& e) { if (edit_mode_ == EDIT_MODE_SPLIT || edit_mode_ == EDIT_MODE_TWIN) { f = static_cast(last_ext_drum_function_[0]); } else { - f = static_cast(last_ext_tap_function_[edit_mode_ - EDIT_MODE_FIRST]); + f = static_cast(last_ext_drum_function_[edit_mode_ - EDIT_MODE_FIRST]); } } else { if (edit_mode_ == EDIT_MODE_SPLIT || edit_mode_ == EDIT_MODE_TWIN) {