Ondřej Hruška 7 years ago
parent 9db61f0c1a
commit dcd2cc1173
  1. 2
      _debug_replacements.php
  2. 4
      pages/about.php

@ -16,7 +16,7 @@ if (file_exists($versfn)) {
#define FW_V_MINOR 0 #define FW_V_MINOR 0
#define FW_V_PATCH 0 #define FW_V_PATCH 0
$vers = $vm[1][0] . '.' . $vm[1][1] . '.' . $vm[1][2]; $vers = $vm[1][0] . '.' . $vm[1][1] . '.' . $vm[1][2];
$fwHash = shell_exec('cd .. && git rev-parse --short HEAD'); $fwHash = trim(shell_exec('cd .. && git rev-parse --short HEAD'));
} }
return [ return [

@ -17,10 +17,11 @@
<div class="Box"> <div class="Box">
<h2>Version</h2> <h2>Version</h2>
<div class="tscroll">
<table> <table>
<tr> <tr>
<th>ESPTerm</th> <th>ESPTerm</th>
<td>v%vers_fw%, built %date% at %time%</td> <td>v%vers_fw%, built %date% at~%time%</td>
</tr> </tr>
<tr> <tr>
<th>Git hash</th> <th>Git hash</th>
@ -36,6 +37,7 @@
<td>v%vers_sdk%</td> <td>v%vers_sdk%</td>
</tr> </tr>
</table> </table>
</div>
</div> </div>
<div class="Box"> <div class="Box">

Loading…
Cancel
Save