Browse Source

Merge pull request #12395 from tru7/knxd

knxd: backport fix for usblowlever.cpp from upstream
lilik-openwrt-22.03
Hannu Nyman 5 years ago
committed by GitHub
parent
commit
2d31b1780d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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_VERSION:=0.14.38
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
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