Skip to content

Commit

Permalink
webui: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
themactep committed Nov 26, 2024
1 parent 8d2cca4 commit a481a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/thingino-webui/files/var/www/x/config-gpio.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit a481a6d

Please sign in to comment.