Skip to content

Commit 9209102

Browse files
committed
1 parent ffec23a commit 9209102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eez/modules/psu/scpi/syst.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1978,7 +1978,7 @@ scpi_result_t scpi_cmd_systemDelay(scpi_t *context) {
19781978
return SCPI_RES_ERR;
19791979
}
19801980

1981-
if (delayMs > 10000) {
1981+
if (delayMs < 1 || delayMs > 10000) {
19821982
SCPI_ErrorPush(context, SCPI_ERROR_DATA_OUT_OF_RANGE);
19831983
return SCPI_RES_ERR;
19841984
}

0 commit comments

Comments
 (0)