Skip to content

Commit

Permalink
(webui): Configuration page: Fix flashlight GPIO mapping indicator (#171
Browse files Browse the repository at this point in the history
)

Bug was introduced with #165
  • Loading branch information
Slider0007 authored Oct 11, 2024
1 parent 70cee70 commit d8a38c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions sd-card/html/edit_config_param.html
Original file line number Diff line number Diff line change
Expand Up @@ -2722,6 +2722,7 @@ <h2>Configuration</h2>
gpioPinSelection.prop('selectedIndex', idx);
gpioPinSelectAfterChange(true);
getGpioPinUsage(parseInt(gpioPinSelection[0].value));
gpioPinModeChanged(); // Show GPIO mapping in 'Take Image' section
}


Expand Down
2 changes: 1 addition & 1 deletion sd-card/html/global_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ function gatherChangedParameter(form, integer = false)
deepSet(data, path, value, integer);
}
jsonConfigModifiedDelta = deepMergeObjects(jsonConfigModifiedDelta, data);
console.log(jsonConfigModifiedDelta) //@TODO: Remove log
//console.log(jsonConfigModifiedDelta)
}


Expand Down

0 comments on commit d8a38c6

Please sign in to comment.