projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add in a new common Delay_MS() function, which provides a blocking delay for all...
[pub/USBasp.git]
/
Projects
/
Webserver
/
Lib
/
uip
/
clock.c
diff --git
a/Projects/Webserver/Lib/uip/clock.c
b/Projects/Webserver/Lib/uip/clock.c
index
71eaf2b
..
87650b6
100644
(file)
--- a/
Projects/Webserver/Lib/uip/clock.c
+++ b/
Projects/Webserver/Lib/uip/clock.c
@@
-29,10
+29,9
@@
clock_time_t clock_time()
{
clock_time_t time;
- ATOMIC_BLOCK(ATOMIC_FORCEON)
- {
- time = clock_datetime;
- }
+ USB_INT_GlobalDisable();
+ time = clock_datetime;
+ USB_INT_GlobalEnable();
return time;
}