Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jun 6, 2017
1 parent c390d0e commit 71d2fca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eez_psu_sketch/gui_page_ch_settings_trigger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ void ChSettingsTriggerPage::onTriggerModeSet(uint8_t value) {
channel_dispatcher::setVoltageTriggerMode(*g_channel, (TriggerMode)value);
channel_dispatcher::setCurrentTriggerMode(*g_channel, (TriggerMode)value);
profile::save();

if (value != TRIGGER_MODE_LIST && list::isActive()) {
list::abort();
}
}

void ChSettingsTriggerPage::editTriggerMode() {
Expand Down

0 comments on commit 71d2fca

Please sign in to comment.