Skip to content

Commit c2d1bbb

Browse files
authored
Merge pull request #205 from jomjol/rolling
v6.7.2
2 parents 19fd6a1 + bc6a014 commit c2d1bbb

File tree

6 files changed

+31
-7
lines changed

6 files changed

+31
-7
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
4545

4646

4747

48-
##### 6.7.1 Image Processing in Memory - (2021-01-05)
48+
##### 6.7.2 Image Processing in Memory - (2021-01-05)
49+
50+
* NEW 6.7.2: Updated html for setup modus - remove reboot on edit configuration)
4951

5052
* NEW 6.7.1: Improved stability of camera (back to v6.6.1) - remove black strips and areas
5153

firmware/html.zip

250 Bytes
Binary file not shown.

sd-card/html/edit_config_param.html

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -683,9 +683,13 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
683683
<p>
684684

685685
</p>
686-
<p>
687-
<button class="button" id="reboot" type="button" onclick="doReboot()">Reboot to activate updates</button>
688-
</p>
686+
<div id="doreboot">
687+
<p>
688+
<button class="button" id="Edit_Config_Direct" onclick="editConfigDirect()" style="display:none">Edit Config.ini direct</button>
689+
690+
<button class="button" id="reboot" type="button" onclick="doReboot()">Reboot to activate updates</button>
691+
</p>
692+
</div>
689693

690694
</div>
691695

@@ -701,6 +705,14 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
701705

702706

703707
function LoadConfigNeu() {
708+
709+
var isInitialSetup = getParameterByName('InitialSetup');
710+
if (isInitialSetup === 'true')
711+
{
712+
document.getElementById("reboot").style.display = "none";
713+
}
714+
715+
704716
basepath = getbasepath();
705717
if (!loadConfig(basepath)) {
706718
alert("Config.ini could not be loaded!\nPlease reload the page.");
@@ -715,6 +727,16 @@ <h4><input type="checkbox" id="Category_Analog_enabled" value="1" onclick = 'Up
715727
document.getElementById("divall").style.display = '';
716728
}
717729

730+
731+
function getParameterByName(name, url = window.location.href) {
732+
name = name.replace(/[\[\]]/g, '\\$&');
733+
var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),
734+
results = regex.exec(url);
735+
if (!results) return null;
736+
if (!results[2]) return '';
737+
return decodeURIComponent(results[2].replace(/\+/g, ' '));
738+
}
739+
718740
function WriteParameter(_param, _category, _cat, _name, _optional, _select = false, _anzpara = 1){
719741
if (_param[_cat][_name]["found"]){
720742
if (_optional) {

sd-card/html/gethost.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function getbasepath(){
99
{
1010
// host = "http://192.168.2.118"; // jomjol interner test
1111
// host = "http://192.168.178.26"; // jomjol interner test
12-
host = "http://192.168.178.26"; // jomjol interner Real
12+
host = "http://192.168.178.22"; // jomjol interner Real
1313
// host = "."; // jomjol interner localhost
1414

1515
}

sd-card/html/setup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h1>Digitizer - Initial Setup</h1>
111111

112112
break;
113113
case 5:
114-
document.getElementById('maincontent').src = '/edit_config_param.html';
114+
document.getElementById('maincontent').src = '/edit_config_param.html?InitialSetup=true';
115115
document.getElementById('explaincontent').src = '/explain_5.html';
116116
document.getElementById('h_iframe_explain').style.display = "";
117117
document.getElementById("previous").disabled = false;

sd-card/html/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.1
1+
6.5.0

0 commit comments

Comments
 (0)