Skip to content

Commit

Permalink
tinkerboard: disable 5s polling for CEC adapters (solve kwiboo's revi…
Browse files Browse the repository at this point in the history
…ews)
  • Loading branch information
viulian committed May 12, 2019
1 parent 5064706 commit 9161165
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions packages/mediacenter/kodi/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ configure_package() {
KODI_CEC="-DENABLE_CEC=OFF"
fi

if [ "$CEC_FRAMEWORK_SUPPORT" = "yes" ]; then
PKG_PATCH_DIRS+=" cec-framework"
fi

if [ "$KODI_OPTICAL_SUPPORT" = yes ]; then
KODI_OPTICAL="-DENABLE_OPTICAL=ON"
else
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
}

This file was deleted.

0 comments on commit 9161165

Please sign in to comment.