mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-29 18:26:21 +02:00
parent
d607bf1041
commit
8f12bfed8e
3 changed files with 11 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue