summaryrefslogtreecommitdiff
path: root/chip/nrf51
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2019-06-17 13:08:06 +0800
committerCommit Bot <commit-bot@chromium.org>2019-06-20 05:52:11 +0000
commitb16b36b94989a0d8e0f2268099f91094668c70f9 (patch)
treece9f912e6dbb0ed05cfb958f21e1ff67a7898292 /chip/nrf51
parentbbe3abd8dbee0a91b5bfad214821768610b10371 (diff)
downloadchrome-ec-b16b36b94989a0d8e0f2268099f91094668c70f9.tar.gz
ec: Remove extraneous new line as the end of CPRINTS strings
CPRINTS already prints a new line, no need to add another one. Spotted during boot on kukui, and then realized there are many more instances: "" [3.689239 Module 7 is not supported for clock disable ] "" BRANCH=none BUG=none TEST=make buildall -j TEST=`git grep CPRINTS | grep "\\\\n\""` shows nothing of interest. Change-Id: I4d2bbbc65a91fa56c6e6115aa5c353bfd2b384a1 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1660519 Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'chip/nrf51')
-rw-r--r--chip/nrf51/bluetooth_le.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/nrf51/bluetooth_le.c b/chip/nrf51/bluetooth_le.c
index f4747cf83e..1c18a8a84f 100644
--- a/chip/nrf51/bluetooth_le.c
+++ b/chip/nrf51/bluetooth_le.c
@@ -513,7 +513,7 @@ static int command_ble_adv_scan(int argc, char **argv)
CPRINTS("ADV Listen");
if (addr_lsbyte != -1)
- CPRINTS("filtered (%x)\n", addr_lsbyte);
+ CPRINTS("filtered (%x)", addr_lsbyte);
for (i = 0; i < packets; i++) {
rv = ble_rx(&rcv_packet, 1000000, 1);