Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding additional baud rates #149

Merged
1 commit merged into from
Jun 4, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion lib/cosmos/win32/win32_main.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,13 @@ class Win32
CBR_115200 = 115200
CBR_128000 = 128000
CBR_256000 = 256000
BAUD_RATES = [CBR_110, CBR_300, CBR_600, CBR_1200, CBR_2400, CBR_4800, CBR_9600, CBR_14400, CBR_19200, CBR_38400, CBR_56000, CBR_57600, CBR_115200, CBR_128000, CBR_256000]

BAUD_RATES = [
CBR_110, CBR_300, CBR_600, CBR_1200, CBR_2400, CBR_4800, CBR_9600,
CBR_14400, CBR_19200, CBR_38400, CBR_56000, CBR_57600, CBR_115200,
CBR_128000, CBR_256000, 230400, 460800, 500000, 576000, 921600,
1000000, 1152000, 1500000, 2000000, 3000000, 3500000, 4000000
]

# Parity
NOPARITY = 0
Expand Down