From 13e7cbfd81af76168527f887b831ca1d3ef3854f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Thu, 18 Mar 2021 23:21:17 +0100 Subject: [PATCH] Documentation: Fix docu of overtemp flag --- doc/source/firmware/safety/flags.rst | 6 +++++- .../include/reflow-controller/safety/safety-config.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/source/firmware/safety/flags.rst b/doc/source/firmware/safety/flags.rst index 2857763..eb47857 100644 --- a/doc/source/firmware/safety/flags.rst +++ b/doc/source/firmware/safety/flags.rst @@ -136,7 +136,11 @@ ERR_FLAG_OVERTEMP --------------------------- ``ERR_FLAG_OVERTEMP`` is set if the :ref:`pt1000_processing` detects an overtemperature. -The default limit is ``260 degrees Celsius``. However, it is possible to configure the limit and permanenty store it in the EEPROM since hardware version v1.3. +The default limit is set to: + +.. doxygendefine:: SAFETY_DEFAULT_OVERTEMP_LIMIT_DEGC + +However, it is possible to configure the limit and permanenty store it in the EEPROM since hardware version v1.3. ========== ============= ============= =========== diff --git a/stm-firmware/include/reflow-controller/safety/safety-config.h b/stm-firmware/include/reflow-controller/safety/safety-config.h index 381723c..67259dd 100644 --- a/stm-firmware/include/reflow-controller/safety/safety-config.h +++ b/stm-firmware/include/reflow-controller/safety/safety-config.h @@ -130,7 +130,7 @@ enum analog_value_monitor { #define SAFETY_EXT_WATCHDOG_PIN (12) /** - * @brief Default Limit of the overtemperature detection + * @brief Default Limit of the overtemperature detection in degrees celsius */ #define SAFETY_DEFAULT_OVERTEMP_LIMIT_DEGC (260.0f)