diff options
Diffstat (limited to 'package/base-files/files/lib/functions')
-rwxr-xr-x | package/base-files/files/lib/functions/uci-defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh index e551e8fd57..12b900031d 100755 --- a/package/base-files/files/lib/functions/uci-defaults.sh +++ b/package/base-files/files/lib/functions/uci-defaults.sh @@ -573,7 +573,7 @@ ucidef_add_gpio_switch() { json_select_object gpioswitch json_select_object "$cfg" json_add_string name "$name" - json_add_int pin "$pin" + json_add_string pin "$pin" json_add_int default "$default" json_select .. json_select .. |