mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
usb-modeswitch: update to 2.6.2
Revert "usb-modeswitch: fix gcc-15 build" This reverts commit faffdb95515ea565a579ff007d2a08ed6aa705ef.
This commit is contained in:
parent
9bbb0a0ffe
commit
d5262c12df
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="usb-modeswitch"
|
||||
PKG_VERSION="2.6.1"
|
||||
PKG_SHA256="5195d9e136e52f658f19e9f93e4f982b1b67bffac197d0a455cd8c2cd245fa34"
|
||||
PKG_VERSION="2.6.2"
|
||||
PKG_SHA256="f7abd337784a9d1bd39cb8a587518aff6f2a43d916145eafd80b1b8b7146db66"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.draisberghof.de/usb_modeswitch/"
|
||||
PKG_URL="http://www.draisberghof.de/usb_modeswitch/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- a/usb_modeswitch.c 2020-07-10 15:48:03.000000000 +0000
|
||||
+++ b/usb_modeswitch.c 2024-12-09 12:18:10.953574344 +0000
|
||||
@@ -570,7 +570,7 @@
|
||||
/* Get current configuration of default device, note value if Configuration
|
||||
* parameter is set. Also sets active_config
|
||||
*/
|
||||
- currentConfigVal = get_current_config_value(dev);
|
||||
+ currentConfigVal = get_current_config_value();
|
||||
if (Configuration > -1) {
|
||||
SHOW_PROGRESS(output,"Current configuration number is %d\n", currentConfigVal);
|
||||
} else
|
||||
@@ -772,7 +772,7 @@
|
||||
if (Configuration > 0) {
|
||||
if (currentConfigVal != Configuration) {
|
||||
if (switchConfiguration()) {
|
||||
- currentConfigVal = get_current_config_value(dev);
|
||||
+ currentConfigVal = get_current_config_value();
|
||||
if (currentConfigVal == Configuration) {
|
||||
SHOW_PROGRESS(output,"The configuration was set successfully\n");
|
||||
} else {
|
Loading…
x
Reference in New Issue
Block a user