projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a TELNET server to the webserver project, which currently can list active TCP...
[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
e8a676b
..
299a747
100644
(file)
--- a/
Projects/Webserver/Lib/uip/clock.c
+++ b/
Projects/Webserver/Lib/uip/clock.c
@@
-29,9
+29,10
@@
clock_time_t clock_time()
{
\r
clock_time_t time;
{
\r
clock_time_t time;
- cli();
+ ATOMIC_BLOCK(ATOMIC_FORCEON)
+ {
time = clock_datetime;
time = clock_datetime;
- sei();
+ }
return time;
}
return time;
}