diff options
Diffstat (limited to 'Demos/OTG')
-rw-r--r-- | Demos/OTG/TestApp/TestApp.c | 2 | ||||
-rw-r--r-- | Demos/OTG/TestApp/TestApp.h | 4 | ||||
-rw-r--r-- | Demos/OTG/TestApp/TestEvents.h | 2 | ||||
-rw-r--r-- | Demos/OTG/TestApp/makefile | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/Demos/OTG/TestApp/TestApp.c b/Demos/OTG/TestApp/TestApp.c index e72c191b3..d5a752322 100644 --- a/Demos/OTG/TestApp/TestApp.c +++ b/Demos/OTG/TestApp/TestApp.c @@ -130,7 +130,7 @@ TASK(TestApp_CheckTemp) if (Scheduler_HasDelayElapsed(10000, &DelayCounter))
{
printf_P(PSTR("Current temperature: %d Degrees Celcius\r\n\r\n"),
- (int)Temperature_GetTemperature());
+ (int8_t)Temperature_GetTemperature());
/* Reset the delay counter, ready to count another 10000 tick interval */
Scheduler_ResetDelay(&DelayCounter);
diff --git a/Demos/OTG/TestApp/TestApp.h b/Demos/OTG/TestApp/TestApp.h index bf2d56098..5e88dae61 100644 --- a/Demos/OTG/TestApp/TestApp.h +++ b/Demos/OTG/TestApp/TestApp.h @@ -47,8 +47,8 @@ #include <LUFA/Scheduler/Scheduler.h> // Simple scheduler for task management
#include <LUFA/MemoryAllocator/DynAlloc.h> // Auto-defragmenting Dynamic Memory allocation
#include <LUFA/Drivers/Misc/TerminalCodes.h> // ANSI Terminal Escape Codes
- #include <LUFA/Drivers/AT90USBXXX/ADC.h> // ADC driver
- #include <LUFA/Drivers/AT90USBXXX/Serial_Stream.h> // USART Stream driver
+ #include <LUFA/Drivers/Peripheral/ADC.h> // ADC driver
+ #include <LUFA/Drivers/Peripheral/Serial_Stream.h> // USART Stream driver
#include <LUFA/Drivers/Board/Joystick.h> // Joystick driver
#include <LUFA/Drivers/Board/LEDs.h> // LED driver
#include <LUFA/Drivers/Board/HWB.h> // Hardware Button driver
diff --git a/Demos/OTG/TestApp/TestEvents.h b/Demos/OTG/TestApp/TestEvents.h index 6ba06aed8..adaf87595 100644 --- a/Demos/OTG/TestApp/TestEvents.h +++ b/Demos/OTG/TestApp/TestEvents.h @@ -42,7 +42,7 @@ #include <LUFA/Common/Common.h> // Commonly used macros
#include <LUFA/Drivers/USB/USB.h> // USB Functionality
#include <LUFA/Drivers/Board/LEDs.h> // LED driver
- #include <LUFA/Drivers/AT90USBXXX/Serial_Stream.h> // USART Stream driver
+ #include <LUFA/Drivers/Peripheral/Serial_Stream.h> // USART Stream driver
#include <LUFA/Drivers/Misc/TerminalCodes.h> // ANSI Terminal Escape Codes
#include <LUFA/Scheduler/Scheduler.h> // Simple scheduler for task management
diff --git a/Demos/OTG/TestApp/makefile b/Demos/OTG/TestApp/makefile index 0d1983175..a7429669e 100644 --- a/Demos/OTG/TestApp/makefile +++ b/Demos/OTG/TestApp/makefile @@ -129,8 +129,8 @@ SRC = $(TARGET).c \ $(LUFA_PATH)/LUFA/Scheduler/Scheduler.c \
$(LUFA_PATH)/LUFA/MemoryAllocator/DynAlloc.c \
$(LUFA_PATH)/LUFA/Drivers/Board/Temperature.c \
- $(LUFA_PATH)/LUFA/Drivers/AT90USBXXX/Serial_Stream.c \
- $(LUFA_PATH)/LUFA/Drivers/AT90USBXXX/Serial.c \
+ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial_Stream.c \
+ $(LUFA_PATH)/LUFA/Drivers/Peripheral/Serial.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/LowLevel.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Pipe.c \
|