mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Update comment on setting Sofar
This commit is contained in:
parent
920cd83561
commit
dc443e580b
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ String settings_processor(const String& var) {
|
||||||
"updatePassword?value='+encodeURIComponent(value),true);xhr.send();}}";
|
"updatePassword?value='+encodeURIComponent(value),true);xhr.send();}}";
|
||||||
content +=
|
content +=
|
||||||
"function editSofarID(){var value=prompt('For double battery setups. Which battery ID should this emulator "
|
"function editSofarID(){var value=prompt('For double battery setups. Which battery ID should this emulator "
|
||||||
"send? Enter new value between "
|
"send? Remember to reboot after configuring this! Enter new value between "
|
||||||
"(0-15):');if(value!==null){if(value>=0&&value<=15){var xhr=new "
|
"(0-15):');if(value!==null){if(value>=0&&value<=15){var xhr=new "
|
||||||
"XMLHttpRequest();xhr.onload=editComplete;xhr.onerror=editError;xhr.open('GET','/"
|
"XMLHttpRequest();xhr.onload=editComplete;xhr.onerror=editError;xhr.open('GET','/"
|
||||||
"updateSofarID?value='+value,true);xhr.send();}else{alert('Invalid value. Please enter a value between 0 "
|
"updateSofarID?value='+value,true);xhr.send();}else{alert('Invalid value. Please enter a value between 0 "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue