@ -16,7 +16,7 @@ if (file_exists($versfn)) {
#define FW_V_MINOR 0
#define FW_V_PATCH 0
$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 [
@ -17,10 +17,11 @@
<div class="Box">
<h2>Version</h2>
<div class="tscroll">
<table>
<tr>
<th>ESPTerm</th>
<td>v%vers_fw%, built %date% at %time%</td>
<td>v%vers_fw%, built %date% at~%time%</td>
</tr>
<th>Git hash</th>
@ -36,6 +37,7 @@
<td>v%vers_sdk%</td>
</table>
</div>