HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
48a0fdb
)
So streaming over network dos not hog all of main loop we now issue one net command...
author
Jim Morris
<morris@wolfman.com>
Sun, 14 May 2017 21:31:48 +0000
(14:31 -0700)
committer
Jim Morris
<morris@wolfman.com>
Sun, 14 May 2017 21:31:48 +0000
(14:31 -0700)
this allows another telnet connection and/or a USB serial connection to actually get a response
src/libs/Network/uip/Network.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/libs/Network/uip/Network.cpp
b/src/libs/Network/uip/Network.cpp
index
f56e41c
..
d119b12
100644
(file)
--- a/
src/libs/Network/uip/Network.cpp
+++ b/
src/libs/Network/uip/Network.cpp
@@
-388,9
+388,13
@@
void Network::init(void)
void Network::on_main_loop(void *argument)
{
// issue commands here if any available
- while(command_q->pop()) {
- // keep feeding them until empty
- }
+ // while(command_q->pop()) {
+ // // keep feeding them until empty
+ // }
+
+ // issue one comamnd per iteration of main loop like USB serial does
+ command_q->pop();
+
}
// select between webserver and telnetd server