Skip to content

Commit

Permalink
fix bugs found during evt script testing (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau authored Nov 25, 2024
1 parent 5a03363 commit 23899b3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,6 @@ struct MoveToLimitSwitch {

if (std::get<3>(arguments).present) {
ret.mm_per_second = std::get<3>(arguments).value;
} else {
return std::make_pair(ParseResult(), input);
}

if (std::get<4>(arguments).present) {
Expand Down Expand Up @@ -996,7 +994,7 @@ struct GetEstopStatus {
static auto write_response_into(InputIt buf, InLimit limit, int triggered)
-> InputIt {
int res = 0;
res = snprintf(&*buf, (limit - buf), "M112 %i OK", triggered);
res = snprintf(&*buf, (limit - buf), "M112 %i OK\n", triggered);
if (res <= 0) {
return buf;
}
Expand Down

0 comments on commit 23899b3

Please sign in to comment.