From a1b284a74c036e853e79a6ebb36aadc1a332487f Mon Sep 17 00:00:00 2001 From: Mark Jessop Date: Mon, 16 Jan 2023 14:57:31 +1030 Subject: [PATCH] Remove greyworld from shssp2023, always show cal details --- rx/templates/index.html | 2 +- tx/shssp2023.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/rx/templates/index.html b/rx/templates/index.html index cb8f431..38c349e 100644 --- a/rx/templates/index.html +++ b/rx/templates/index.html @@ -130,7 +130,7 @@ // } if(msg.sys_cal==3){ - var sys_cal = "OK"; + var sys_cal = "Cal (S" + msg.sys_cal.toFixed(0) + " G" + msg.gyro_cal.toFixed(0) + " A" + msg.accel_cal.toFixed(0) + " M" + msg.magnet_cal.toFixed(0) + ")"; } else { var sys_cal = "Uncal (S" + msg.sys_cal.toFixed(0) + " G" + msg.gyro_cal.toFixed(0) + " A" + msg.accel_cal.toFixed(0) + " M" + msg.magnet_cal.toFixed(0) + ")"; } diff --git a/tx/shssp2023.py b/tx/shssp2023.py index 806203c..bdca35f 100644 --- a/tx/shssp2023.py +++ b/tx/shssp2023.py @@ -234,7 +234,8 @@ while True: debug_ptr=tx.transmit_text_message, vertical_flip=True, horizontal_flip=True, - greyworld=True) + #greyworld=True + ) # If this succeeded, break out of this loop. break