From 0406ebba79ff36d79a3ff7793667f33a24ea84ea Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Sat, 30 May 2015 11:33:50 +0200 Subject: [PATCH] fix console output --- platforms/arduino/examples/LECentral/LECentral.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/arduino/examples/LECentral/LECentral.ino b/platforms/arduino/examples/LECentral/LECentral.ino index 803be1ed2..3db5b25a2 100644 --- a/platforms/arduino/examples/LECentral/LECentral.ino +++ b/platforms/arduino/examples/LECentral/LECentral.ino @@ -77,7 +77,7 @@ void loop(void){ void advertisementCallback(BLEAdvertisement *bleAdvertisement) { Serial.print("Device discovered: "); Serial.print(bleAdvertisement->getBdAddr()->getAddressString()); - Serial.print(", RSSI: %d"); + Serial.print(", RSSI: "); Serial.println(bleAdvertisement->getRssi()); if (bleAdvertisement->containsService(&bleShieldServiceV2UUID)) { Serial.println("\nBLE ShieldService V2 found!\n");