Skip to content

Commit

Permalink
Merge pull request #979 from Alex-CodeLab/fluidterm
Browse files Browse the repository at this point in the history
delay startup #973
  • Loading branch information
bdring authored Jul 21, 2023
2 parents 9f1de7c + cf5fed9 commit 10bd9a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fluidterm/fluidterm.py
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,10 @@ def dump_port_settings(self):

def reader(self):
"""loop and copy serial->console"""
for _ in range(5):
time.sleep(.1)
self.console.write('.')
self.console.write('\n')
try:
while self.alive and self._reader_alive:
# read all that is there or wait for one byte
Expand Down Expand Up @@ -677,7 +681,7 @@ def writer(self):
# If you restart FluidNC with $bye or the reset switch, you
# will have to trigger interactive mode manually
time.sleep(2) # Time for FluidNC to be ready for input
self.enable_fluid_echo();
self.enable_fluid_echo()

try:
while self.alive:
Expand Down

0 comments on commit 10bd9a8

Please sign in to comment.