From 498cd640070b68dfe69144880eb20e8a2c940a7e Mon Sep 17 00:00:00 2001 From: Northern Man <19808920+NorthernMan54@users.noreply.github.com> Date: Thu, 28 Sep 2023 19:45:51 -0400 Subject: [PATCH] Revert "Fix for https://github.com/1technophile/OpenMQTTGateway/issues/1741" This reverts commit 24f8799affad2354457b7a159a8566ed919ca460. --- src/rtl_433/devices/nexus.c | 2 +- src/rtl_433/devices/silvercrest.c | 2 +- tools/update_rtl_433_devices.sh | 9 --------- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/rtl_433/devices/nexus.c b/src/rtl_433/devices/nexus.c index 6de2cdf0..08dad37d 100644 --- a/src/rtl_433/devices/nexus.c +++ b/src/rtl_433/devices/nexus.c @@ -112,7 +112,7 @@ static char const *const output_fields[] = { NULL, }; -static r_device const nexus = { +r_device const nexus = { .name = "Nexus, FreeTec NC-7345, NX-3980, Solight TE82S, TFA 30.3209 temperature/humidity sensor", .modulation = OOK_PULSE_PPM, .short_width = 1000, diff --git a/src/rtl_433/devices/silvercrest.c b/src/rtl_433/devices/silvercrest.c index 3145764c..ffeecdb3 100644 --- a/src/rtl_433/devices/silvercrest.c +++ b/src/rtl_433/devices/silvercrest.c @@ -55,7 +55,7 @@ static char const *const output_fields[] = { NULL, }; -static r_device const silvercrest = { +r_device const silvercrest = { .name = "Silvercrest Remote Control", .modulation = OOK_PULSE_PWM, .short_width = 264, diff --git a/tools/update_rtl_433_devices.sh b/tools/update_rtl_433_devices.sh index aac2093e..232b84e1 100755 --- a/tools/update_rtl_433_devices.sh +++ b/tools/update_rtl_433_devices.sh @@ -94,15 +94,6 @@ echo " // end of fragement" >> decoder.fragment echo echo "Please update src/signalDecoder.cpp with decoder.fragment" -echo -echo "Marking nexus and silvercrest device decoders as static due to https://github.com/1technophile/OpenMQTTGateway/issues/1741" -echo - -for i in 'src/rtl_433/devices/nexus.c src/rtl_433/devices/silvercrest.c' -do - sed -i '' "s/^r_device const /static r_device const /" $i -done - # copy src files from rtl_433/src to src/rtl_433 echo echo "Copying src files"