From b2ddb8ee4e3883ceabb9a612809b5d3561ab7181 Mon Sep 17 00:00:00 2001
From: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon, 30 Dec 2019 12:35:02 +0100
Subject: uart: Fix incorrect stop bit annotation class.

This fixes bug #1474.
---
 decoders/uart/pd.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'decoders/uart/pd.py')

diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py
index 67f4c7e..2bae0dc 100644
--- a/decoders/uart/pd.py
+++ b/decoders/uart/pd.py
@@ -410,7 +410,7 @@ class Decoder(srd.Decoder):
             self.frame_valid[rxtx] = False
 
         self.putp(['STOPBIT', rxtx, self.stopbit1[rxtx]])
-        self.putg([Ann.RX_PARITY_OK + rxtx, ['Stop bit', 'Stop', 'T']])
+        self.putg([Ann.RX_STOP + rxtx, ['Stop bit', 'Stop', 'T']])
 
         # Pass the complete UART frame to upper layers.
         es = self.samplenum + ceil(self.bit_width / 2.0)
-- 
cgit v1.2.3-70-g09d2