From 311c8347df254cc6d321c4c01a35fe2960b242d5 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Jan 1970 09:14:14 +0900 Subject: hide delay feature on AVR-EBT1-B by setting max_delay to 0.0 --- parser.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'parser.c') diff --git a/parser.c b/parser.c index 80a9530..de3e9af 100644 --- a/parser.c +++ b/parser.c @@ -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) { -- cgit