diff Common/Inc/data_central.h @ 868:db92692c014f Evo_2_23

Introduce speed dependend coloring of depth: The depth value in the will now be colored based on the current ascent speed. The color code matches the one of the bar graph which was already used for visualization of the ascent speed. To keep color code consistent the existing color selection functions have been merged to one common Gfx function (T3/T7 - bar graph and color text)
author Ideenmodellierer
date Mon, 12 Aug 2024 15:14:19 +0200
parents ba1aebc6d5af
children 2225c467f1e9
line wrap: on
line diff
--- a/Common/Inc/data_central.h	Mon Aug 12 14:30:22 2024 +0200
+++ b/Common/Inc/data_central.h	Mon Aug 12 15:14:19 2024 +0200
@@ -531,4 +531,7 @@
 const SDecoinfo *getDecoInfo(void);
 
 void disableTimer(void);
+
+uint8_t drawingColor_from_ascentspeed(float speed);
+
 #endif // DATA_CENTRAL_H