Fix js error prevending wifi scanning

http-comm 1.0.2
Ondřej Hruška 7 years ago
parent b0992702b9
commit 5aef8a0f11
  1. 2
      html_orig/pages/_head.php
  2. 2
      user/version.h

@ -11,7 +11,7 @@
var _root = <?= JS_WEB_ROOT ?>;
var _demo = <?= (int)ESP_DEMO ?>;
<?php if($_GET['page']=='term'): ?>var _demo_screen = <?= ESP_DEMO ? DEMO_SCREEN : 0 ?>;<?php endif; ?>
<?php if($_GET['page']=='cfg_wifi'): ?>var _demo_aps = <?= ESP_DEMO ? json_encode(DEMO_APS) : '' ?>;<?php endif; ?>
<?php if($_GET['page']=='cfg_wifi'): ?>var _demo_aps = <?= ESP_DEMO ? json_encode(DEMO_APS) : '""' ?>;<?php endif; ?>
</script>
</head>
<body class="<?= $_GET['BODYCLASS'] ?>">

@ -7,7 +7,7 @@
#define FW_V_MAJOR 1
#define FW_V_MINOR 0
#define FW_V_PATCH 1
#define FW_V_PATCH 2
#define FIRMWARE_VERSION STR(FW_V_MAJOR) "." STR(FW_V_MINOR) "." STR(FW_V_PATCH) "+" GIT_HASH
#define FIRMWARE_VERSION_NUM (FW_V_MAJOR*1000 + FW_V_MINOR*10 + FW_V_PATCH) // this is used in ID queries

Loading…
Cancel
Save