Skip to content

Commit

Permalink
0.8.137
Browse files Browse the repository at this point in the history
* fix storage of timezone and region #1723
  • Loading branch information
lumapu committed Aug 13, 2024
1 parent d607bf1 commit 8f12bfe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
3 changes: 3 additions & 0 deletions src/CHANGES.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
15 changes: 7 additions & 8 deletions src/web/html/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down

0 comments on commit 8f12bfe

Please sign in to comment.