From 44ac3404c7a07c583081282f40edf609c1f2e8fc Mon Sep 17 00:00:00 2001
From: cnlohr <lohr85@gmail.com>
Date: Sun, 19 Feb 2023 00:07:17 -0800
Subject: [PATCH] 'r' is also a command that cannot be chained together.

---
 minichlink/minichlink.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/minichlink/minichlink.c b/minichlink/minichlink.c
index 9637828..346ea99 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.
-- 
GitLab