From c263ea837ae7e3c0e963b798afdffd501790ce2c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Fri, 8 Apr 2011 05:40:25 +0000 Subject: Move global interrupt enable/disable functions out to Common.h and document them. --- Projects/Webserver/Lib/uip/clock.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Projects') 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 #include #include -#include -#include -#include + +#include #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; } -- cgit v1.2.3