From 54b7440f90a004d3d5e8bd53a56a98e797d9aa60 Mon Sep 17 00:00:00 2001 From: Gregor Riepl Date: Mon, 18 Jan 2021 20:26:19 +0100 Subject: [PATCH] Remove redundant rtr check --- feedback/firmware/main.c | 4 +--- poweriface/firmware/main.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/feedback/firmware/main.c b/feedback/firmware/main.c index 809e984..8e38607 100644 --- a/feedback/firmware/main.c +++ b/feedback/firmware/main.c @@ -74,9 +74,7 @@ static void loop() { if (status != 0) { switch (msg.id) { case 0x10: - if (msg.flags.rtr) { - send_status(); - } + send_status(); break; case 0x4f: if (msg.length == 1) { diff --git a/poweriface/firmware/main.c b/poweriface/firmware/main.c index 09c5bb6..3f180ec 100644 --- a/poweriface/firmware/main.c +++ b/poweriface/firmware/main.c @@ -134,9 +134,7 @@ static void loop() { if (status != 0) { switch (msg.id) { case 0x11: - if (msg.flags.rtr) { - send_status(); - } + send_status(); break; case 0x21: if (msg.length == 1) {