mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
Merge pull request #3506 from viulian/master
tinkerboard: disable 5s polling for CEC adapters
This commit is contained in:
commit
09f892e5bc
@ -91,6 +91,10 @@ configure_package() {
|
|||||||
KODI_CEC="-DENABLE_CEC=OFF"
|
KODI_CEC="-DENABLE_CEC=OFF"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$CEC_FRAMEWORK_SUPPORT" = "yes" ]; then
|
||||||
|
PKG_PATCH_DIRS+=" cec-framework"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$KODI_OPTICAL_SUPPORT" = yes ]; then
|
if [ "$KODI_OPTICAL_SUPPORT" = yes ]; then
|
||||||
KODI_OPTICAL="-DENABLE_OPTICAL=ON"
|
KODI_OPTICAL="-DENABLE_OPTICAL=ON"
|
||||||
else
|
else
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
--- kodi-rockchip_18.2rc1-Leia.orig/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2019-05-12 07:24:23.921984777 +0200
|
||||||
|
+++ kodi-rockchip_18.2rc1-Leia/xbmc/peripherals/bus/virtual/PeripheralBusCEC.cpp 2019-05-12 07:03:41.221761552 +0200
|
||||||
|
@@ -50,6 +50,10 @@
|
||||||
|
/** the Pi's adapter cannot be removed, no need to rescan */
|
||||||
|
m_bNeedsPolling = false;
|
||||||
|
break;
|
||||||
|
+ case ADAPTERTYPE_LINUX:
|
||||||
|
+ /** the Linux adapter cannot be removed, no need to rescan */
|
||||||
|
+ m_bNeedsPolling = false;
|
||||||
|
+ break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user