From: Martin Mares Date: Sun, 14 May 2023 14:24:07 +0000 (+0200) Subject: Swap IR light buttons to match Nocturn X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=65d54d2b5ea5879ce057439cc1d5574215b7bbde;p=ursary.git Swap IR light buttons to match Nocturn --- diff --git a/ursaryd.c b/ursaryd.c index 56745ea..237e0af 100644 --- a/ursaryd.c +++ b/ursaryd.c @@ -846,13 +846,13 @@ static void notify_ir(const char *key) // Lights if (!strcmp(key, "preset+")) - update_lights_from_ir(0, 1); + update_lights_from_ir(1, 1); else if (!strcmp(key, "preset-")) - update_lights_from_ir(0, 0); + update_lights_from_ir(1, 0); else if (!strcmp(key, "tuning-up")) - update_lights_from_ir(1, 1); + update_lights_from_ir(0, 1); else if (!strcmp(key, "tuning-down")) - update_lights_from_ir(1, 0); + update_lights_from_ir(0, 0); else if (strlen(key) == 1 && key[0] >= '0' && key[0] <= '9') update_lights_ir_num(key[0] - '0'); else if (!strcmp(key, "10/0"))