diff --git a/index_ov3660.h b/index_ov3660.h
index eb7ca74..ef33baa 100644
--- a/index_ov3660.h
+++ b/index_ov3660.h
@@ -251,6 +251,20 @@ const uint8_t index_ov3660_html[] = R"=====(
+
+
+
+
@@ -310,6 +324,7 @@ const uint8_t index_ov3660_html[] = R"=====(
const savePrefsButton = document.getElementById('save_prefs')
const clearPrefsButton = document.getElementById('clear_prefs')
const rebootButton = document.getElementById('reboot')
+ const framerateLimit = document.getElementById('framerate_limit')
const hide = el => {
el.classList.add('hidden')
@@ -371,6 +386,8 @@ const uint8_t index_ov3660_html[] = R"=====(
} else if(el.id === "rotate"){
rotate.value = value;
applyRotation();
+ } else if(el.id === "framerate_limit"){
+ framerate_limit.value = value;
} else if(el.id === "stream_url"){
streamURL = value;
viewerURL = value + 'view';
@@ -571,6 +588,10 @@ const uint8_t index_ov3660_html[] = R"=====(
updateConfig(framesize)
}
+ framerateLimit.onchange = () => {
+ updateConfig(framerateLimit)
+ }
+
swapButton.onclick = () => {
window.open('/?view=simple','_self');
}