X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/a318f32b310eac95a4a208a0f25fb1c39afa22f5..e5cf169469cebc3b632e36b1277efdd52fcaa09a:/LUFA/Drivers/Board/Temperature.c diff --git a/LUFA/Drivers/Board/Temperature.c b/LUFA/Drivers/Board/Temperature.c index b9b7adc61..f465add49 100644 --- a/LUFA/Drivers/Board/Temperature.c +++ b/LUFA/Drivers/Board/Temperature.c @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2011. + Copyright (C) Dean Camera, 2012. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -28,8 +28,11 @@ 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