feat: add setextention

This commit is contained in:
Sebastian
2023-03-02 11:58:29 +01:00
parent 472fe88ac0
commit 608719ba2f
2 changed files with 4 additions and 3 deletions

View File

@ -144,7 +144,8 @@ BEGIN {
modules
IOWrite
defs
makeDeviceName)
makeDeviceName
SetExtensions)
);
}
@ -616,7 +617,7 @@ sub Set {
# all devices has abilitie to fall a sleep
$list .= ' winter_mode:awake,hibernate';
return SetExtensions($hash, $list, $name, $cmd, @aArg);
return SetExtensions($hash, $list, $name, $cmd, @$aArg);
# return "Unknown argument $cmd, choose one of $list";
}