aboutsummaryrefslogtreecommitdiff
path: root/contrib/remote_bitbang/remote_bitbang_sysfsgpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/remote_bitbang/remote_bitbang_sysfsgpio.c')
-rw-r--r--contrib/remote_bitbang/remote_bitbang_sysfsgpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/remote_bitbang/remote_bitbang_sysfsgpio.c b/contrib/remote_bitbang/remote_bitbang_sysfsgpio.c
index e59a1bde..66413070 100644
--- a/contrib/remote_bitbang/remote_bitbang_sysfsgpio.c
+++ b/contrib/remote_bitbang/remote_bitbang_sysfsgpio.c
@@ -302,7 +302,7 @@ static void process_remote_protocol(void)
break;
else if (c == 'b' || c == 'B') /* Blink */
continue;
- else if (c >= 'r' && c <= 'r' + 2) { /* Reset */
+ else if (c >= 'r' && c <= 'r' + 3) { /* Reset */
char d = c - 'r';
sysfsgpio_reset(!!(d & 2),
(d & 1));