Browse Source

knxd: backport fix for usblowlever.cpp from upstream

Signed-off-by: Othmar Truniger <github@truniger.ch>
lilik-openwrt-22.03
Othmar Truniger 5 years ago
parent
commit
726db21424
2 changed files with 11 additions and 1 deletions
  1. +1
    -1
      net/knxd/Makefile
  2. +10
    -0
      net/knxd/patches/0110-usblowlever.patch

+ 1
- 1
net/knxd/Makefile View File

@ -12,7 +12,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=knxd PKG_NAME:=knxd
PKG_VERSION:=0.14.38 PKG_VERSION:=0.14.38
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/knxd/knxd/tar.gz/$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/knxd/knxd/tar.gz/$(PKG_VERSION)?


+ 10
- 0
net/knxd/patches/0110-usblowlever.patch View File

@ -0,0 +1,10 @@
--- a/src/libserver/usblowlevel.cpp 2020-06-03 16:41:02.128182612 +0200
+++ b/src/libserver/usblowlevel.cpp 2020-06-03 16:41:31.660704440 +0200
@@ -155,6 +155,7 @@
{
t->setAuxName("usbL");
send_timeout = cfg->value("send-timeout", 1000);
+ loop = nullptr;
read_trigger.set<USBLowLevelDriver,&USBLowLevelDriver::read_trigger_cb>(this);
write_trigger.set<USBLowLevelDriver,&USBLowLevelDriver::write_trigger_cb>(this);
read_trigger.start();

Loading…
Cancel
Save