diff --git a/contrib/remote_bitbang/remote_bitbang_sysfsgpio.c b/contrib/remote_bitbang/remote_bitbang_sysfsgpio.c index e59a1bdeb..664130703 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));