From ce6c066532682f99cc7ee475775077dde34a8993 Mon Sep 17 00:00:00 2001 From: "DESKTOP-7I8SUIC\\zhang" Date: Mon, 1 Dec 2025 21:07:04 +0800 Subject: [PATCH] fix bug --- data_config.h | 5 ++++- radial_vibration.ui | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/data_config.h b/data_config.h index aa2ed85..cc0ad12 100644 --- a/data_config.h +++ b/data_config.h @@ -289,10 +289,13 @@ typedef struct { bool checked; } Filter; -typedef struct{ +typedef struct General_{ bool output_used; int engineering_unit; int rectifier_function; + General_(){ + output_used = false; + } }General; typedef struct AlarmDangerHigh_{ diff --git a/radial_vibration.ui b/radial_vibration.ui index 59d3e9d..0328bff 100644 --- a/radial_vibration.ui +++ b/radial_vibration.ui @@ -1181,12 +1181,12 @@ - + - +