mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-22 02:09:09 +00:00
.github
config
distributions
licenses
packages
projects
ARM
Allwinner
Amlogic
Ayn
Generic
L4T
devices
firmwares
packages
binutils
busybox
curl
elfutils
eventlircd
ffmpeg
gcc
glibc
gptfdisk
libXv
lirc
config
default.d
patches
lirc-0001-fix-zotac-poll.patch
lirc-0003-logging-Don-t-use-broken-LOG_CONS-syslog-flag.patch
lirc-0004-lircd-Fix-connect-option-parsing-error-343.patch
lirc-0005-systemd-support-Notify-systemd-on-successful-startup.patch
lirc-0100-disable-python.patch
scripts
system.d
tmpfiles.d
package.mk
nfs-utils
pulseaudio
python
swig
systemd
tegra-bsp
util-linux
v4l-utils
vulkan-headers
vulkan-loader
vulkan-tools
wpa_supplicant
xf86-input-libinput
xorg-server
patches
README.md
options
NXP
Qualcomm
RPi
Rockchip
Samsung
scripts
tools
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Makefile
README.md
build_all.sh
create_tar.sh
get_libretro_tarball.sh
libretro_update.sh
pkg_all.sh
* Switch: it builds * Switch: Use udev to finalize usb gadget to save from systemd looping service restart until cable connected. * Switch: Update kernel stuff again * Switch: Downgrade Alsa packages to version in 4.x tree * Joycond: Update Switch version * Switch: Minor fixes * LibreELEC: Fix a few broken files from upstream pull * Switch: Fix LibreELEC build. * Switch: Update bootloader stuff * L4T: FFMPEG: Add support for nvv4l2 decoder/encoder * FFMPEG: Add back encoder support for game recording in retroarch * FFMPEG: revert a few changes, and add support for vulkan.
30 lines
816 B
Diff
30 lines
816 B
Diff
From 79e2494e4880d0446bf837c8bbca0b01baac4ed4 Mon Sep 17 00:00:00 2001
|
|
From: Matthias Reichl <hias@horus.com>
|
|
Date: Wed, 8 Apr 2020 11:27:11 +0200
|
|
Subject: [PATCH] plugins/zotac: fix poll timeout
|
|
|
|
poll requires a negative timeout value for infinite waits.
|
|
See https://sourceforge.net/p/lirc/tickets/327/
|
|
|
|
Signed-off-by: Matthias Reichl <hias@horus.com>
|
|
---
|
|
plugins/zotac.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/plugins/zotac.c b/plugins/zotac.c
|
|
index ac528c67..4a66acf5 100644
|
|
--- a/plugins/zotac.c
|
|
+++ b/plugins/zotac.c
|
|
@@ -352,7 +352,7 @@ static void* zotac_repeat(void* arg)
|
|
if (pressed)
|
|
sel = curl_poll(&pfd, 1, delay_ms);
|
|
else
|
|
- sel = curl_poll(&pfd, 1, 0);
|
|
+ sel = curl_poll(&pfd, 1, -1);
|
|
switch (sel) {
|
|
case 1:
|
|
// Data ready in device's file
|
|
--
|
|
2.20.1
|
|
|