diff Discovery/Src/tMenu.c @ 1018:808153ba3fec GasConsumption

Disable the menu items for editing scrubber timer parameters if an inactive scrubber timer is selected. This removes the confusion when users edit a scrubber that is not active, and are then surprised when the scrubber timer does not work during the dive. (mikeller)
author heinrichsweikamp
date Mon, 09 Jun 2025 09:42:16 +0200
parents 21142f4fa968
children 3d9552e4997c
line wrap: on
line diff
--- a/Discovery/Src/tMenu.c	Thu May 29 22:04:46 2025 +0200
+++ b/Discovery/Src/tMenu.c	Mon Jun 09 09:42:16 2025 +0200
@@ -1516,3 +1516,9 @@
 {
     return isGrey ? "\031" : "";
 }
+
+
+char printCheckbox(bool isChecked)
+{
+    return isChecked ? '\005' : '\006';
+}