Serious alarms are above 255

Thu, 10 Aug 2017 16:27:54 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 10 Aug 2017 16:27:54 +0200
changeset 530
d33516eac22f
parent 529
00b45f2aaac3
child 531
2e42fdf59019

Serious alarms are above 255

thermferm/thermferm.h file | annotate | diff | comparison | revisions
--- a/thermferm/thermferm.h	Fri Jul 28 13:28:11 2017 +0200
+++ b/thermferm/thermferm.h	Thu Aug 10 16:27:54 2017 +0200
@@ -209,9 +209,12 @@
 
 #define	MQTT_NODE_CONTROL	0x0001		/* Show node control		*/
 
+/*
+ * Alarm bits, value above 255 are serious alarms.
+ */
 #define	ALARM_FLAG_DOOR		0x0001		/* Door open			*/
 #define	ALARM_FLAG_PSU		0x0002		/* PSU problem			*/
-#define	ALARM_FLAG_CHILLER	0x0004		/* Chiller too warm		*/
+#define	ALARM_FLAG_CHILLER	0x0100		/* Chiller too warm		*/
 
 
 

mercurial