Fixed some errors with my dectalk protocol implementation. Thanks Codex. :)
This commit is contained in:
@@ -77,7 +77,7 @@ def test_dectalk_driver_writes_settings_and_cancel(serial_pair):
|
||||
speech_driver.set_pitch(1.0)
|
||||
speech_driver.set_volume(0.5)
|
||||
speech_driver.cancel()
|
||||
expected = b"[:ra 650][:dv ap 350][:vo 50]\x03"
|
||||
expected = b"[:ra 650][:dv ap 350][:dv g5 73]\x03"
|
||||
assert read_available(master_fd, len(expected)) == expected
|
||||
finally:
|
||||
speech_driver.shutdown()
|
||||
|
||||
Reference in New Issue
Block a user