From da626616b2fb1f52999d24d1b63c7f59af391f92 Mon Sep 17 00:00:00 2001
From: root <165865819+brianshea2@users.noreply.github.com>
Date: Fri, 26 Jul 2024 15:46:34 +0000
Subject: [PATCH] add a little more resolution to voltage, chutil, and
airutiltx (issue #18)
---
website/index.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/website/index.html b/website/index.html
index 67da471..45a68c3 100644
--- a/website/index.html
+++ b/website/index.html
@@ -241,9 +241,9 @@
${region ? `
Region | ${html(region)} |
` : ''}
${modemPreset ? `Modem preset | ${html(modemPreset)} |
` : ''}
${hasDefaultCh ? `Has default channel | True |
` : ''}
- ${batteryLevel ? `Power | ${batteryLevel > 100 ? 'Plugged in' : `${batteryLevel}%`}${voltage ? ` (${voltage.toFixed(1)}V)` : ''} |
` : ''}
- ${chUtil ? `ChUtil | ${chUtil.toFixed(1)}% |
` : ''}
- ${airUtilTx ? `AirUtilTX | ${airUtilTx.toFixed(1)}% |
` : ''}
+ ${batteryLevel ? `Power | ${batteryLevel > 100 ? 'Plugged in' : `${batteryLevel}%`}${voltage ? ` (${voltage.toFixed(2)}V)` : ''} |
` : ''}
+ ${chUtil ? `ChUtil | ${chUtil.toFixed(2)}% |
` : ''}
+ ${airUtilTx ? `AirUtilTX | ${airUtilTx.toFixed(2)}% |
` : ''}
${uptime ? `Uptime | ${duration(uptime)} |
` : ''}
${onlineLocalNodes ? `Online local nodes | ${onlineLocalNodes} |
` : ''}
${precision && precisionMargins[precision-1] ?