aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Lib/uip
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/Webserver/Lib/uip')
-rw-r--r--Projects/Webserver/Lib/uip/clock.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/Projects/Webserver/Lib/uip/clock.c b/Projects/Webserver/Lib/uip/clock.c
index 87650b6da..e71f7209d 100644
--- a/Projects/Webserver/Lib/uip/clock.c
+++ b/Projects/Webserver/Lib/uip/clock.c
@@ -1,9 +1,8 @@
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
-#include <avr/interrupt.h>
-#include <avr/io.h>
-#include <avr/sfr_defs.h>
+
+#include <LUFA/Common/Common.h>
#include "clock.h"
@@ -29,9 +28,9 @@ clock_time_t clock_time()
{
clock_time_t time;
- USB_INT_GlobalDisable();
+ GlobalInterruptDisable();
time = clock_datetime;
- USB_INT_GlobalEnable();
+ GlobalInterruptEnable();
return time;
}