Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
This reverts commit 24f8799.
  • Loading branch information
NorthernMan54 committed Sep 28, 2023
1 parent dc61aa0 commit 498cd64
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/rtl_433/devices/nexus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/rtl_433/devices/silvercrest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
9 changes: 0 additions & 9 deletions tools/update_rtl_433_devices.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 498cd64

Please sign in to comment.