From: Guido Trentalancia Date: Sat, 1 Dec 2018 21:45:26 +0000 (+0100) Subject: hameg-hmo: Add missing quotes for SCPI_CMD_SET_TRIGGER_PATTERN. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0184aca19d5dde511dcf16585c3d642a8e586c84;p=libsigrok.git hameg-hmo: Add missing quotes for SCPI_CMD_SET_TRIGGER_PATTERN. --- diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index 20c3a396..a476e32e 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -48,7 +48,7 @@ static const char *hameg_scpi_dialect[] = { [SCPI_CMD_GET_TRIGGER_PATTERN] = ":TRIG:A:PATT:SOUR?", [SCPI_CMD_SET_TRIGGER_PATTERN] = ":TRIG:A:TYPE LOGIC;" \ ":TRIG:A:PATT:FUNC AND;" \ - ":TRIG:A:PATT:COND TRUE;" \ + ":TRIG:A:PATT:COND \"TRUE\";" \ ":TRIG:A:PATT:MODE OFF;" \ ":TRIG:A:PATT:SOUR \"%s\"", [SCPI_CMD_GET_TRIGGER_SOURCE] = ":TRIG:A:SOUR?", @@ -85,7 +85,7 @@ static const char *rohde_schwarz_log_not_pod_scpi_dialect[] = { [SCPI_CMD_GET_TRIGGER_PATTERN] = ":TRIG:A:PATT:SOUR?", [SCPI_CMD_SET_TRIGGER_PATTERN] = ":TRIG:A:TYPE LOGIC;" \ ":TRIG:A:PATT:FUNC AND;" \ - ":TRIG:A:PATT:COND TRUE;" \ + ":TRIG:A:PATT:COND \"TRUE\";" \ ":TRIG:A:PATT:MODE OFF;" \ ":TRIG:A:PATT:SOUR \"%s\"", [SCPI_CMD_GET_TRIGGER_SOURCE] = ":TRIG:A:SOUR?",