From: Uwe Hermann Date: Tue, 31 Dec 2019 22:20:12 +0000 (+0100) Subject: modbus: Add missing annotation class names. X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=79f5cbcfe332be55fb08d31618c086ee9282eb3d;p=libsigrokdecode.git modbus: Add missing annotation class names. --- diff --git a/decoders/modbus/pd.py b/decoders/modbus/pd.py index 83ffbb2..81aaf2a 100644 --- a/decoders/modbus/pd.py +++ b/decoders/modbus/pd.py @@ -822,21 +822,21 @@ class Decoder(srd.Decoder): outputs = ['modbus'] tags = ['Embedded/industrial'] annotations = ( - ('sc-server-id', ''), - ('sc-function', ''), - ('sc-crc', ''), - ('sc-address', ''), - ('sc-data', ''), - ('sc-length', ''), - ('sc-error', ''), - ('cs-server-id', ''), - ('cs-function', ''), - ('cs-crc', ''), - ('cs-address', ''), - ('cs-data', ''), - ('cs-length', ''), - ('cs-error', ''), - ('error-indication', ''), + ('sc-server-id', 'SC server ID'), + ('sc-function', 'SC function'), + ('sc-crc', 'SC CRC'), + ('sc-address', 'SC address'), + ('sc-data', 'SC data'), + ('sc-length', 'SC length'), + ('sc-error', 'SC error'), + ('cs-server-id', 'CS server ID'), + ('cs-function', 'CS function'), + ('cs-crc', 'CS CRC'), + ('cs-address', 'CS address'), + ('cs-data', 'CS data'), + ('cs-length', 'CS length'), + ('cs-error', 'CS error'), + ('error-indication', 'Error indication'), ) annotation_rows = ( ('sc', 'Server->client', (0, 1, 2, 3, 4, 5, 6)),