From 0f4ffde5fbe8c8aff10a4b3d8993d2d6a69ca92b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=85=95=E7=82=8E?= <29385962@qq.com> Date: Mon, 3 Jan 2022 02:34:55 +0000 Subject: [PATCH] update arduino/Betas/RGB_V1.1.1/main/data/index.html. --- arduino/Betas/RGB_V1.1.1/main/data/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arduino/Betas/RGB_V1.1.1/main/data/index.html b/arduino/Betas/RGB_V1.1.1/main/data/index.html index defcea7..1109573 100644 --- a/arduino/Betas/RGB_V1.1.1/main/data/index.html +++ b/arduino/Betas/RGB_V1.1.1/main/data/index.html @@ -130,7 +130,7 @@ function UpdateInfo() document.getElementById('debug_log_control').value==arr[3]; document.getElementById('BAT_VOLTAGE').innerHTML=arr[4]; - if(document.getElementById('log_control').value=="1"){ + if(document.getElementById('log_control').value=="1" && arr[5]!=""){ document.getElementById('Shaft_Velocity').innerHTML =arr[5]+"
"+document.getElementById('Shaft_Velocity').innerHTML; document.getElementById('motor_voltage_q').innerHTML=arr[6]+"
"+document.getElementById('motor_voltage_q').innerHTML; document.getElementById('target_velocity').innerHTML=arr[7]+"
"+document.getElementById('target_velocity').innerHTML;