From c5076b99ff2de20b50c899fab6bf7aa7147a8f46 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Wed, 8 Oct 2014 21:28:06 +0200 Subject: [PATCH] Remove some of debugging prints in can receive block TLC. Signed-off-by: Pavel Pisa --- blocks/tlc_c/sfunction_canreceive.tlc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/blocks/tlc_c/sfunction_canreceive.tlc b/blocks/tlc_c/sfunction_canreceive.tlc index 496d99b..5dbf4d2 100644 --- a/blocks/tlc_c/sfunction_canreceive.tlc +++ b/blocks/tlc_c/sfunction_canreceive.tlc @@ -147,7 +147,7 @@ int i; for (i = 0; i < dlc; i++ ) { %.Data[i] = sc_frame.data[i]; - printf("%X ", sc_frame.data[i]); + %%printf("%X ", sc_frame.data[i]); } %elseif %==3 // uint32 @@ -158,7 +158,7 @@ if (dlc < 4) msg &= 0xffffffff << (8 * dlc); % = msg; - printf("32b: %X ", msg); + %%printf("32b: %X ", msg); %elseif %==2 // uint16 unsigned int msg = (sc_frame.data[0]) | @@ -166,14 +166,14 @@ if (dlc < 2) msg &= 0xffffffff << (8 * dlc); % = msg; - printf("16b: %X ", msg); + %%printf("16b: %X ", msg); %else // uint8 unsigned int msg = sc_frame.data[0]; % = msg; - printf("8b: %X ", msg); + %%printf("8b: %X ", msg); %endif - printf("\n"); + %%printf("\n"); %% Call a function to process the received message via function-call subsystem %foreach callIdx = NumSFcnSysOutputCalls -- 2.39.2