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:
Tim Allen authored and Seth Morabito committed 2023-06-10 10:19:24 -07:00
1 parent 9351d785ae
commit b725fb5fdd
1 file changed
+1 -1
@@ -116,7 +116,7 @@ public class Acia6551 extends Acia {
if (data == 0) { if (data == 0) {
reset(); reset();
} else { } 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; int baudSelector = data & 0x0f;
switch (baudSelector) { switch (baudSelector) {
case 0: case 0: