Fix the ntc problems.
[bertos.git] / bertos / drv / ntc.h
index 3a160ea72d9130b09b3a0054fc14e44298243928..31c4ce59e2f7e8b7a308197ce8c615d667f4c272 100644 (file)
@@ -30,7 +30,7 @@
  * All Rights Reserved.
  * -->
  *
- * \brief Driver for NTC sensors (reads a temperature through an ADC)
+ * \brief Driver for NTC sensors (reads a temperature through an ADC).
  *
  * \version $Id$
  *
@@ -38,7 +38,7 @@
  * \author Francesco Sacchi <batt@develer.com>
  *
  * $WIZ$ module_name = "ntc"
- * $WIZ$ module_depends = "adc"
+ * $WIZ$ module_hw = "bertos/hw/hw_ntc.h", "bertos/hw/ntc_map.h"
  */
 
 #ifndef DRV_NTC_H
@@ -47,6 +47,7 @@
 #include "hw/ntc_map.h"
 
 #include <cfg/compiler.h>
+#include <cfg/debug.h>
 
 #define NTC_OPEN_CIRCUIT  -32768
 #define NTC_SHORT_CIRCUIT 32767