Skip to content

Commit

Permalink
Always return \r\n is command is query
Browse files Browse the repository at this point in the history
  • Loading branch information
n.danilyuk committed Oct 17, 2023
1 parent 05c252b commit 59c4229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libscpi/src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ static scpi_bool_t processCommand(scpi_t * context) {
result = FALSE;
}
}
if(context->output_count > 0) {
if(context->output_count > 0 || is_query) {
context->first_output = FALSE;
}
}
Expand Down

0 comments on commit 59c4229

Please sign in to comment.