Index: firmware/App/Monitors/Level.c =================================================================== diff -u -r4440a7a6b86afcaed7573596abe30bcf5820aba4 -rd0f2f31b8bb46e0615fb5b71ea0594b3f53af064 --- firmware/App/Monitors/Level.c (.../Level.c) (revision 4440a7a6b86afcaed7573596abe30bcf5820aba4) +++ firmware/App/Monitors/Level.c (.../Level.c) (revision d0f2f31b8bb46e0615fb5b71ea0594b3f53af064) @@ -7,15 +7,14 @@ * * @file Level.c * -* @author (last) Varshini Nagabooshanam -* @date (last) 26-Jan-2026 +* @author (last) Sameer Kalliadan Poyil +* @date (last) 04-Feb-2026 * * @author (original) Vinayakam Mani * @date (original) 14-Oct-2024 * ***************************************************************************/ - #include "FpgaDD.h" #include "Level.h" #include "MessageSupport.h" @@ -42,7 +41,7 @@ #define FPGA_B2_LEVEL_HIGH 0x0C ///< Floater high level status for beta 2.0 #define LEVEL_COUNT_LOW 0xFFFF ///< Level sensor count when fluid level is low or non submerged #define LEVEL_COUNT_HIGH_START 0x0000 ///< Start range of level sensor count when fluid level is high or submerged -#define LEVEL_COUNT_HIGH_END 0x2FFF ///< End range of level sensor count when fluid level is high or submerged +#define LEVEL_COUNT_HIGH_END 0x1FFF ///< End range of level sensor count when fluid level is high or submerged #define LOW_LEVEL_COUNT_TOLERANCE ( ( LEVEL_COUNT_LOW / 100 ) * 1 ) ///< Level sensor count 1% tolerance for low level #define HIGH_LEVEL_COUNT_TOLERANCE ( ( LEVEL_COUNT_HIGH / 100 ) * 1 ) ///< Level sensor count 1% tolerance for high level #define LEVEL_DATA_PUB_INTERVAL ( MS_PER_SECOND / TASK_PRIORITY_INTERVAL ) ///< Interval (ms/task time) at which the level data is published on the CAN bus.