Skip to content

Commit 9ee9be7

Browse files
committed
qmodem(fix): correct variable name in LED script retrieval function
1 parent 43e79ca commit 9ee9be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/qmodem/files/usr/share/qmodem/modem_scan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ _get_led_sript_by_slot()
7878
{
7979
local cfg="$1"
8080
config_get _get_slot $cfg slot
81-
if [ "$target_slot" == "$_get_slot" ];then
81+
if [ "$target_slot" == "$_get_script" ];then
8282
config_get led_script $cfg led_script
8383
fi
8484
}

0 commit comments

Comments
 (0)