From a2ff30f305dc9aaacc1fc7105cca5f60628456e8 Mon Sep 17 00:00:00 2001 From: Anders Sandstrom Date: Thu, 18 Mar 2021 12:46:51 +0100 Subject: [PATCH] Remove some printfs --- .../ecmc_plugin_socketcanApp/src/ecmcCANOpenSDO.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ecmc_plugin_socketcan/ecmc_plugin_socketcanApp/src/ecmcCANOpenSDO.cpp b/ecmc_plugin_socketcan/ecmc_plugin_socketcanApp/src/ecmcCANOpenSDO.cpp index 6ae11a5..ccf7bdf 100644 --- a/ecmc_plugin_socketcan/ecmc_plugin_socketcanApp/src/ecmcCANOpenSDO.cpp +++ b/ecmc_plugin_socketcan/ecmc_plugin_socketcanApp/src/ecmcCANOpenSDO.cpp @@ -221,7 +221,7 @@ void ecmcCANOpenSDO::execute() { if(busyCounter_>ECMC_SDO_REPLY_TIMOUT_MS) { // cancel read or write - printf("SDO BUSY timeout!! %s\n",name_); + printf("Error: SDO BUSY timeout!! %s\n",name_); memset(tempDataBuffer_,0,ODSize_); readStates_ = READ_IDLE; writeStates_ = WRITE_IDLE; @@ -358,7 +358,7 @@ int ecmcCANOpenSDO::readDataStateMachine(can_frame *frame) { } int ecmcCANOpenSDO::writeDataStateMachine(can_frame *frame) { - printf("writeDataStateMachine %s\n",name_); + //printf("writeDataStateMachine %s\n",name_); int bytes = 0; switch(writeStates_) { case WRITE_WAIT_FOR_CONF: @@ -499,7 +499,7 @@ void ecmcCANOpenSDO::setValue(uint8_t *data, size_t bytes) { int ecmcCANOpenSDO::writeValue() { // Busy right now! - printf("WRITEVALUE %s\n",name_); + //printf("WRITEVALUE %s\n",name_); if(busy_) { writePending_ = true;