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

[plc4x] branch develop updated: fix(plc4x/c-bus): remove dangling parenthesis in virtual field

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 92e5ac9365 fix(plc4x/c-bus): remove dangling parenthesis in virtual field
92e5ac9365 is described below

commit 92e5ac9365bb90a67be4f57ba75bb0d9a23b2eeb
Author: Ben Hutcheson <be...@gmail.com>
AuthorDate: Sat Feb 11 07:53:50 2023 +0100

    fix(plc4x/c-bus): remove dangling parenthesis in virtual field
---
 protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec b/protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec
index 3716846583..71e31493b8 100644
--- a/protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec
+++ b/protocols/c-bus/src/main/resources/protocols/cbus/c-bus.mspec
@@ -1620,7 +1620,7 @@
             [simple  LevelInformationNibblePair  pair1                      ]
             [simple  LevelInformationNibblePair  pair2                      ]
             [virtual uint   8  actualLevel 'pair2.nibbleValue << 4 | pair1.nibbleValue']
-            [virtual float 32  actualLevelInPercent '100 * (actualLevel + 2) / 255 )'  ]
+            [virtual float 32  actualLevelInPercent '100 * (actualLevel + 2) / 255']
         ]
     ]
 ]