You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by ld...@apache.org on 2020/10/21 08:43:11 UTC

[plc4x] 11/21: Fix socketcan mspec errors.

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

ldywicki pushed a commit to branch feature/socketcan
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit d936e28f4693792fb097d142879d64c4a5f385a0
Author: Ɓukasz Dywicki <lu...@code-house.org>
AuthorDate: Tue Sep 1 17:58:00 2020 +0200

    Fix socketcan mspec errors.
---
 protocols/can/src/main/resources/protocols/can/socketcan.mspec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/protocols/can/src/main/resources/protocols/can/socketcan.mspec b/protocols/can/src/main/resources/protocols/can/socketcan.mspec
index e657a9d..201c0d6 100644
--- a/protocols/can/src/main/resources/protocols/can/socketcan.mspec
+++ b/protocols/can/src/main/resources/protocols/can/socketcan.mspec
@@ -28,7 +28,7 @@
         ]
 
         ['false' StandardSocketCANFrame
-            [const  uint 18 '0x0']
+            [const  uint 18 'spacing' '0x0']
             [simple uint 11 'identifier']
         ]
     ]
@@ -58,7 +58,7 @@
     [reserved uint 8 '0x0'] // padding 1
     [reserved uint 8 '0x0'] // padding 2
     [array int 8 'data' COUNT 'size']
-    [padding  uint 8 'pad' '0x00' '8 - (COUNT(data))']
+    [padding  uint 8 '0x00' '8 - (COUNT(data))']
 ]
 
 [type 'SocketCAN20AFrame'