diff options
author | root <root@avtech.domain.avtechpulse.com> | 1970-01-01 09:14:14 +0900 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1970-01-01 09:14:14 +0900 |
commit | 311c8347df254cc6d321c4c01a35fe2960b242d5 (patch) | |
tree | 2e373c40421cad91fb090ad1da1e0adf5f488f94 | |
parent | 3b44463ab4521ed3219a3f9cf131d8aa5e6db602 (diff) |
hide delay feature on AVR-EBT1-B by setting max_delay to 0.0
-rw-r--r-- | menus.c | 1 | ||||
-rw-r--r-- | parser.c | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -432,6 +432,7 @@ void Show_Main_Menu(void) && (globals.ChannelState[chan].pw_ctrl_mode!=pw_in_out) && ((globals.ChannelState[chan].func_mode==pulse_mode_on) || (globals.ChannelState[chan].func_mode==dc_mode_on)) + && (globals.Flash.max_delay[chan]>0.0) ) { ++LCD_entry; Main_Menu_Structure[LCD_entry]=Submenu1_delay+chan; @@ -1977,6 +1977,10 @@ static int Go_delay_39(gchar** response, int channel, char *parameter,char *unit return status; } + if (!(globals.Flash.max_delay[channel]>0.0)) { + return Unrecognized; + } + new_delay=1.0; switch (command_type) { |