From 1b6a3ce1b4b817ee59f2d53240d5eeaae12e91e0 Mon Sep 17 00:00:00 2001 From: sparks-alec Date: Tue, 3 Jan 2023 23:51:39 -0500 Subject: [PATCH] add runtime for transmitters that support it --- plugins/shure/template.ejs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/shure/template.ejs b/plugins/shure/template.ejs index 3698419..d76a786 100644 --- a/plugins/shure/template.ejs +++ b/plugins/shure/template.ejs @@ -39,10 +39,14 @@ <% if(ch.batt_bars==255){ %> -
+
<% }else{ %>
-
+
+ <% if(ch.batt_run_time<=65532){ %> <%= Math.floor(ch.batt_run_time/60) + %>: <%= ch.batt_run_time%60 %> <% } %> +
+
<% } %>