aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/Core
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Core')
-rw-r--r--src/common/Core/fsm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/Core/fsm.c b/src/common/Core/fsm.c
index f34b636..52ec8cb 100644
--- a/src/common/Core/fsm.c
+++ b/src/common/Core/fsm.c
@@ -639,6 +639,12 @@ void fsm_update() {
" %d AH ", capacity_bat_ah);
}
+ if (temperature_valid()) {
+ len += snprintf(balise_message + len, BALISE_MESSAGE_LEN-len-1,
+ " T %d ",
+ (int)(round_float_to_half_steps(temperature_get())));
+ }
+
len += snprintf(balise_message+len, BALISE_MESSAGE_LEN-len-1,
"%s" CW_POSTDELAY,
eol_info);