diff Discovery/Inc/t3.h @ 758:b6d8a6fbf4fd

- Colours for scrubber display when time remaining falls below a threshold value - Display negative values when time is up and diving continues; - count down remaining scrubber time only when the dive computer is not set to bailout - after all, there is not much point in counting down time if the diver is not breathing through the scrubber.
author heinrichsweikamp
date Wed, 15 Mar 2023 09:18:07 +0100
parents f52bc70e380f
children 717b460294cd
line wrap: on
line diff
--- a/Discovery/Inc/t3.h	Tue Mar 07 22:14:20 2023 +0100
+++ b/Discovery/Inc/t3.h	Wed Mar 15 09:18:07 2023 +0100
@@ -31,6 +31,7 @@
 /* Includes ------------------------------------------------------------------*/
 #include "stm32f4xx_hal.h"
 #include "gfx_engine.h"
+#include "settings.h"
 
 /* Exported functions --------------------------------------------------------*/
 void t3_init(void);
@@ -42,4 +43,6 @@
 void t3_set_customview_to_primary(void);
 uint8_t t3_customview_disabled(uint8_t view);
 
+int printScrubberText(char *text, size_t size, SSettings *settings);
+
 #endif /* T3_H */