Skip to content

Commit 92b5a03

Browse files
authored
Fix a warning while building wiimote_controller.cpp (#201)
gcc is warning that there are too many arguments for the printf-like RCLCPP_INFO, and it is correct. Fix that here. Signed-off-by: Chris Lalancette <[email protected]>
1 parent 2a72d3f commit 92b5a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wiimote/src/wiimote_controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ bool WiimoteNode::pair_wiimote(int flags = 0, int timeout = 5)
363363
status = false;
364364
} else {
365365
RCLCPP_INFO(logger_, "Paired to %s.", get_bluetooth_addr());
366-
RCLCPP_INFO(logger_, "Calibrating device...", get_bluetooth_addr());
366+
RCLCPP_INFO(logger_, "Calibrating device...");
367367
RCLCPP_INFO(logger_, "Allow all joy sticks to remain at center position until calibrated.");
368368
// Give the hardware time to zero the accelerometer and gyro after pairing
369369
// Ensure we are getting valid data before using

0 commit comments

Comments
 (0)