Browse Source

0.8.137

* fix storage of timezone and region #1723
main
lumapu 2 months ago
parent
commit
8f12bfed8e
  1. 3
      src/CHANGES.md
  2. 2
      src/defines.h
  3. 15
      src/web/html/setup.html

3
src/CHANGES.md

@ -1,5 +1,8 @@
# Development Changes
## 0.8.137 - 2024-08-13
* fix storage of timezone and region #1723
## 0.8.136 - 2024-08-12
* fix save settings for ESP32 devices #1720

2
src/defines.h

@ -13,7 +13,7 @@
//-------------------------------------
#define VERSION_MAJOR 0
#define VERSION_MINOR 8
#define VERSION_PATCH 136
#define VERSION_PATCH 137
//-------------------------------------
typedef struct {
uint8_t ch;

15
src/web/html/setup.html

@ -700,14 +700,6 @@
el.push(mlCb("protMask" + i, a[i], chk))
}
d.append(...el);
var tz = []
for(i = 0; i < 24; i += 0.5)
tz.push([i, ((i-12 > 0) ? "+" : "") + String(i-12)]);
document.getElementById("timezone").append(sel("timezone", tz, obj.timezone + 12))
var region = [[0, "Europe (860 - 870 MHz)"], [1, "USA, Indonesia (905 - 925 MHz)"], [2, "Brazil (915 - 928 MHz)"]]
document.getElementById("region").append(sel("region", region, obj.region))
}
function parseGeneric(obj) {
@ -723,6 +715,13 @@
ts = obj.ts_now;
window.setInterval("tick()", 1000);
var tz = []
for(i = 0; i < 24; i += 0.5)
tz.push([i, ((i-12 > 0) ? "+" : "") + String(i-12)]);
document.getElementById("timezone").append(sel("timezone", tz, obj.timezone + 12))
var region = [[0, "Europe (860 - 870 MHz)"], [1, "USA, Indonesia (905 - 925 MHz)"], [2, "Brazil (915 - 928 MHz)"]]
document.getElementById("region").append(sel("region", region, obj.region))
}
function parseStaticIp(obj) {

Loading…
Cancel
Save