mirror of
				https://github.com/brianshea2/meshmap.net.git
				synced 2025-03-05 21:00:01 -08:00 
			
		
		
		
	add a little more resolution to voltage, chutil, and airutiltx (issue #18)
This commit is contained in:
		
							parent
							
								
									c62935abd1
								
							
						
					
					
						commit
						da626616b2
					
				|  | @ -241,9 +241,9 @@ | |||
|       ${region ? `<tr><th>Region</th><td>${html(region)}</td></tr>` : ''} | ||||
|       ${modemPreset ? `<tr><th>Modem preset</th><td>${html(modemPreset)}</td></tr>` : ''} | ||||
|       ${hasDefaultCh ? `<tr><th>Has default channel</th><td>True</td></tr>` : ''} | ||||
|       ${batteryLevel ? `<tr><th>Power</th><td>${batteryLevel > 100 ? 'Plugged in' : `${batteryLevel}%`}${voltage ? ` (${voltage.toFixed(1)}V)` : ''}</td></tr>` : ''} | ||||
|       ${chUtil ? `<tr><th>ChUtil</th><td>${chUtil.toFixed(1)}%</td></tr>` : ''} | ||||
|       ${airUtilTx ? `<tr><th>AirUtilTX</th><td>${airUtilTx.toFixed(1)}%</td></tr>` : ''} | ||||
|       ${batteryLevel ? `<tr><th>Power</th><td>${batteryLevel > 100 ? 'Plugged in' : `${batteryLevel}%`}${voltage ? ` (${voltage.toFixed(2)}V)` : ''}</td></tr>` : ''} | ||||
|       ${chUtil ? `<tr><th>ChUtil</th><td>${chUtil.toFixed(2)}%</td></tr>` : ''} | ||||
|       ${airUtilTx ? `<tr><th>AirUtilTX</th><td>${airUtilTx.toFixed(2)}%</td></tr>` : ''} | ||||
|       ${uptime ? `<tr><th>Uptime</th><td>${duration(uptime)}</td></tr>` : ''} | ||||
|       ${onlineLocalNodes ? `<tr><th>Online local nodes</th><td>${onlineLocalNodes}</td></tr>` : ''} | ||||
|       ${precision && precisionMargins[precision-1] ? | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue