This commit is contained in:
devdatt 2026-02-19 11:31:16 +05:30
parent 52bec25ef6
commit 41a9a59cd6
1 changed files with 5 additions and 5 deletions

View File

@ -393,13 +393,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
</div> </div>
</form> </form>
<script> <script>
const controls = ["brightness", "contrast", "saturation", "hue"]; const controls = ["hdmi_brightness", "hdmi_contrast", "hdmi_saturation", "hdmi_hue"];
function update() { function update() {
const b = brightness.value; const b = hdmi_brightness.value;
const c = contrast.value; const c = hdmi_contrast.value;
const s = saturation.value; const s = hdmi_saturation.value;
const h = hue.value; const h = hdmi_hue.value;
brightnessVal.textContent = b; brightnessVal.textContent = b;
contrastVal.textContent = c; contrastVal.textContent = c;