mirror of
https://github.com/sethm/symon.git
synced 2024-06-01 08:41:32 +00:00
Fix comment: The 6551 baud rate is in the lower *four* bits.
The code is correct, the comment is wrong.
This commit is contained in:
parent
0b3eed516f
commit
000ba068e5
|
@ -116,7 +116,7 @@ public class Acia6551 extends Acia {
|
|||
if (data == 0) {
|
||||
reset();
|
||||
} else {
|
||||
// Mask the lower three bits to get the baud rate.
|
||||
// Mask the lower four bits to get the baud rate.
|
||||
int baudSelector = data & 0x0f;
|
||||
switch (baudSelector) {
|
||||
case 0:
|
||||
|
|
Loading…
Reference in New Issue
Block a user