Skip to content

Commit

Permalink
Fix song player, wait 3.5 seconds after print is done.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmudge committed Jan 21, 2021
1 parent 2d8ab50 commit 32ff905
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions OctoPrint_MeatPack/packing_serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def run(self):
self._running = True
# tuple -- (note len in ms, g-code)
song = songplay.get_song_in_gcode()

# sleep 3.5 seconds to allow command queue to empty
time.sleep(3.5)

note_len_offset_ms = -10

Expand Down

0 comments on commit 32ff905

Please sign in to comment.