Clean up unnecessary CPPCheck static analysis suppression comments, force Doxygen...
[pub/lufa.git] / LUFA / Drivers / Board / Temperature.c
index 44316e7..f6cc2ae 100644 (file)
@@ -18,7 +18,7 @@
   advertising or publicity pertaining to distribution of the
   software without specific, written prior permission.
 
-  The author disclaim all warranties with regard to this
+  The author disclaims all warranties with regard to this
   software, including all implied warranties of merchantability
   and fitness.  In no event shall the author be liable for any
   special, indirect or consequential damages or any damages
   this software.
 */
 
+#define  __INCLUDE_FROM_TEMPERATURE_C
 #include "Temperature.h"
 
+#if defined(TEMPERATURE_SENSOR_DRIVER_COMPATIBLE)
+
 static const uint16_t PROGMEM Temperature_Lookup[TEMP_TABLE_SIZE] =
 {
        0x3B4, 0x3B0, 0x3AB, 0x3A6, 0x3A0, 0x39A, 0x394, 0x38E, 0x388, 0x381, 0x37A, 0x373,
@@ -60,3 +63,4 @@ int8_t Temperature_GetTemperature(void)
        return TEMP_MAX_TEMP;
 }
 
+#endif