You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2022/09/02 16:39:55 UTC

[plc4x] branch develop updated: fix(plc4go/cbus): remove debug statements

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

sruehl 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 2d9347dd6 fix(plc4go/cbus): remove debug statements
2d9347dd6 is described below

commit 2d9347dd6fb028747706f7545e5de83c10d81be9
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Sep 2 18:39:43 2022 +0200

    fix(plc4go/cbus): remove debug statements
---
 plc4go/internal/cbus/Browser.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/plc4go/internal/cbus/Browser.go b/plc4go/internal/cbus/Browser.go
index f1fa85664..7ab329db4 100644
--- a/plc4go/internal/cbus/Browser.go
+++ b/plc4go/internal/cbus/Browser.go
@@ -186,7 +186,6 @@ func (m Browser) getInstalledUnitAddressBytes(ctx context.Context) (map[byte]any
 	blockOffset176ReceivedChan := make(chan any, 100) // We only expect one, but we make it a bit bigger to no clog up
 	result := make(map[byte]any)
 	plcConsumerRegistration := subscriptionHandle.Register(func(event apiModel.PlcSubscriptionEvent) {
-		fmt.Printf("what %v\n", event)
 		if responseCode := event.GetResponseCode("installationMMIMonitor"); responseCode != apiModel.PlcResponseCode_OK {
 			log.Warn().Msgf("Ignoring %v", event)
 			return
@@ -208,7 +207,6 @@ func (m Browser) getInstalledUnitAddressBytes(ctx context.Context) (map[byte]any
 		} else {
 			blockStart = int(blockStartValue.GetByte())
 		}
-		println(blockStart)
 		switch blockStart {
 		case 88:
 			select {