main/task_ds18b20.h

changeset 1
ad2c8b13eb88
parent 0
b74b0e4902c3
--- a/main/task_ds18b20.h	Sat Oct 20 13:23:15 2018 +0200
+++ b/main/task_ds18b20.h	Sat Oct 20 17:09:48 2018 +0200
@@ -18,11 +18,11 @@
 /*
  * Error codes in this task
  */
-#define	DS18B20_ERR_NONE		0
-#define DS18B20_ERR_NOSENSOR		1
-#define	DS18B20_ERR_TOOMANY		2
-#define	DS18B20_ERR_CRC			3
-#define	DS18B20_ERR_READ		4
+#define	DS18B20_ERR_NONE		0			///< No errors
+#define DS18B20_ERR_NOSENSOR		1			///< No sensor detected
+#define	DS18B20_ERR_TOOMANY		2			///< Too many sensors
+#define	DS18B20_ERR_CRC			3			///< CRC read error
+#define	DS18B20_ERR_READ		4			///< Generic read error
 
 
 /**

mercurial