From 6984168a450d639ee2ed3efa633ccc8963106c99 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Tue, 27 Oct 2015 14:52:41 -0200 Subject: [PATCH] AP_HAL_Linux: don't log on failed semaphore With commit 24f4153 ("AP_HAL_Linux: RCOutput_PCA9685: group writes") a log was introduced when we can't get the bus semaphore. However since we are calling the non blocking method, failing there is not that unlikely if the bus is shared. Return back to the previous behavior of not logging. --- libraries/AP_HAL_Linux/RCOutput_PCA9685.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/AP_HAL_Linux/RCOutput_PCA9685.cpp b/libraries/AP_HAL_Linux/RCOutput_PCA9685.cpp index b41d3ebf08..6f206a3510 100644 --- a/libraries/AP_HAL_Linux/RCOutput_PCA9685.cpp +++ b/libraries/AP_HAL_Linux/RCOutput_PCA9685.cpp @@ -225,7 +225,6 @@ void RCOutput_PCA9685::push() } if (!_i2c_sem->take_nonblocking()) { - hal.console->printf("RCOutput: Unable to get bus semaphore"); return; }