From: Gerhard Sittig Date: Sat, 24 Nov 2018 10:57:38 +0000 (+0100) Subject: uart: remove obsolete TODO (Python annotation for frame errors) X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=30d27bd438ce90162ffa4911bc61a9661db3d39f;p=libsigrokdecode.git uart: remove obsolete TODO (Python annotation for frame errors) The "Frame error?" TODO comment on Python annotations has become obsolete. Individual bit errors within the frame immediately get communicated as they are detected (START, parity, STOP). The overall frame's validity has become available with the FRAME annotation. --- diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index f89c6e5..4bb68a4 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -39,7 +39,6 @@ This is the list of s and their respective values: - 'INVALID STOPBIT': The data is the (integer) value of the stop bit (0/1). - 'PARITY ERROR': The data is a tuple with two entries. The first one is the expected parity value, the second is the actual parity value. - - TODO: Frame error? - 'BREAK': The data is always 0. - 'FRAME': The data is always a tuple containing two items: The (integer) value of the UART data, and a boolean which reflects the validity of the