comparison 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
comparison
equal deleted inserted replaced
867:3311b720a072 868:db92692c014f
529 void setCompassHeading(uint16_t heading); 529 void setCompassHeading(uint16_t heading);
530 530
531 const SDecoinfo *getDecoInfo(void); 531 const SDecoinfo *getDecoInfo(void);
532 532
533 void disableTimer(void); 533 void disableTimer(void);
534
535 uint8_t drawingColor_from_ascentspeed(float speed);
536
534 #endif // DATA_CENTRAL_H 537 #endif // DATA_CENTRAL_H