From 9a5ec93e9ce753dbd4f31c2db693d3a679dbfd7b Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sun, 25 Jan 2026 06:19:20 +0300 Subject: [PATCH] subghz: fix beninca programming mode --- lib/subghz/protocols/beninca_arc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/subghz/protocols/beninca_arc.c b/lib/subghz/protocols/beninca_arc.c index 62eb925f8..83db66306 100644 --- a/lib/subghz/protocols/beninca_arc.c +++ b/lib/subghz/protocols/beninca_arc.c @@ -96,7 +96,7 @@ static uint8_t subghz_protocol_beninca_arc_get_btn_code(void) { case 0x04: btn = 0x02; break; - case 0xFF: + case 0x00: btn = 0x04; break; @@ -106,12 +106,12 @@ static uint8_t subghz_protocol_beninca_arc_get_btn_code(void) { } else if(custom_btn_id == SUBGHZ_CUSTOM_BTN_DOWN) { switch(original_btn_code) { case 0x02: - btn = 0xFF; + btn = 0x00; break; case 0x04: - btn = 0xFF; + btn = 0x00; break; - case 0xFF: + case 0x00: btn = 0x02; break;