Skip to content

Commit

Permalink
delay startup #973
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-CodeLab committed Jul 21, 2023
1 parent fdd10af commit cf5fed9
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 cf5fed9

Please sign in to comment.