You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2022/02/06 12:57:32 UTC

[plc4x] 03/05: bug(protocols/ads): Moved the BIT8 datatype to the 8-bit bit-string types

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 8dff84e457499621773555efa79a818647a327f2
Author: cdutz <ch...@c-ware.de>
AuthorDate: Sun Feb 6 13:54:44 2022 +0100

    bug(protocols/ads): Moved the BIT8 datatype to the 8-bit bit-string types
---
 protocols/ads/src/main/resources/protocols/ads/ads.mspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/protocols/ads/src/main/resources/protocols/ads/ads.mspec b/protocols/ads/src/main/resources/protocols/ads/ads.mspec
index 5870c07..5fd001e 100644
--- a/protocols/ads/src/main/resources/protocols/ads/ads.mspec
+++ b/protocols/ads/src/main/resources/protocols/ads/ads.mspec
@@ -502,12 +502,12 @@
 [enum int 8 AdsDataType(uint 16 numBytes, vstring dataFormatName)
     ['0x01' BOOL       ['1', '"IEC61131_BOOL"']]
     ['0x02' BIT        ['1', '"IEC61131_BOOL"']]
-    ['0x03' BIT8       ['1', '"IEC61131_BOOL"']]
 
     // -----------------------------------------
     // Bit-strings
     // -----------------------------------------
     // 1 byte
+    ['0x03' BIT8       ['1', '"IEC61131_BYTE"']]
     ['0x04' BYTE       ['1', '"IEC61131_BYTE"']]
     ['0x05' BITARR8    ['1', '"IEC61131_BYTE"']]
     // 2 byte (16 bit)