From a481a6d2ef8b02b2ce0855eaf4edf77fee2323e0 Mon Sep 17 00:00:00 2001 From: Paul Philippov Date: Tue, 26 Nov 2024 13:05:42 -0500 Subject: [PATCH] webui: fix typos --- package/thingino-webui/files/var/www/x/config-gpio.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/thingino-webui/files/var/www/x/config-gpio.cgi b/package/thingino-webui/files/var/www/x/config-gpio.cgi index 5417d7d0e..1cb9ffb45 100755 --- a/package/thingino-webui/files/var/www/x/config-gpio.cgi +++ b/package/thingino-webui/files/var/www/x/config-gpio.cgi @@ -47,7 +47,7 @@ update_config() { } if [ "POST" = "$REQUEST_METHOD" ]; then - read_from_post "gpio" "ir850_pin ir850_pwn ir940_pin ir940_pwm white_pin white_pwm ircut_pin1 ircut_pin2" + read_from_post "gpio" "ir850_pin ir850_pwm ir940_pin ir940_pwm white_pin white_pwm ircut_pin1 ircut_pin2" for c in $COLORS; do update_config "$c" @@ -60,7 +60,7 @@ if [ "POST" = "$REQUEST_METHOD" ]; then "pwm_ch_ir850 $gpio_ir850_pwm\n" \ "pwm_ch_ir940 $gpio_ir940_pwm\n" \ "pwm_ch_white $gpio_white_pwm\n" \ - "gpio_default=$DEFAULT_PINS" + "gpio_default $DEFAULT_PINS" redirect_back "success" "Data updated" fi