Skip to content

Add BREAK detection to SerialPIO, fix parity for < 8 bits#3406

Merged
earlephilhower merged 3 commits intomasterfrom
oooo
Mar 23, 2026
Merged

Add BREAK detection to SerialPIO, fix parity for < 8 bits#3406
earlephilhower merged 3 commits intomasterfrom
oooo

Conversation

@earlephilhower
Copy link
Copy Markdown
Owner

Fixes #3403 and reduced PIO program by 1 instruction

Fixes #3403 and reduced PIO program by 1 instruction
Mask off value so only data bits checked, not parity or stop
@earlephilhower earlephilhower changed the title Add BREAK detection to SerialPIO Add BREAK detection to SerialPIO, fix parity for < 8 bits Mar 21, 2026
Evidently you can assign an into to a bool without getting a warning in GCC with `-Werror -Wextra`.  D'oh.
habazut added a commit to DCC-EX/RCSerialPIO that referenced this pull request Mar 23, 2026
@earlephilhower earlephilhower merged commit cf28d3a into master Mar 23, 2026
54 of 60 checks passed
@earlephilhower earlephilhower deleted the oooo branch March 23, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PIO UART does record extra zero bytes if input signal is low

1 participant