diff --git a/minichlink/minichlink.c b/minichlink/minichlink.c index 96378287ffbe188fbeac5d23b5ba0c2940d39ba0..346ea99b216b907a5cf9bf3846d6575d8bb99e53 100644 --- a/minichlink/minichlink.c +++ b/minichlink/minichlink.c @@ -68,6 +68,7 @@ keep_going: case 'r': // This is clearly not the "best" method to exit reset. I don't know why this combination works. wch_link_multicommands( devh, 3, 4, "\x81\x0b\x01\x01", 4, "\x81\x0d\x01\x02", 4, "\x81\x0d\x01\xff" ); + must_be_end = 'r'; break; case 'R': // Part one "immediately" places the part into reset. Part 2 says when we're done, leave part in reset.