From 46cd1838255712cc599a30a81098121aa26d80f5 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 8 Mar 2015 19:40:11 +0100 Subject: o Formatting. --- apps/SoilMoisture.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'apps/SoilMoisture.cpp') diff --git a/apps/SoilMoisture.cpp b/apps/SoilMoisture.cpp index 0fed8ab..f998d74 100644 --- a/apps/SoilMoisture.cpp +++ b/apps/SoilMoisture.cpp @@ -3,7 +3,6 @@ namespace trygvis { namespace soil_moisture { - #define BLUETOOTH_UUID_INITIALIZER \ { \ 0x00, 0x00, 0x00, 0x00, \ @@ -63,7 +62,7 @@ ByteBuffer createSetUpdateInterval(uint8_t sensor, uint8_t interval_in_seconds) write8(interval_in_seconds); } -SoilMoisture SoilMoisture::create(BluetoothGatt & gatt) { +SoilMoisture SoilMoisture::create(BluetoothGatt &gatt) { gatt.discoverServices(); auto service = gatt.findService(soil_moisture_service); @@ -81,7 +80,7 @@ SoilMoisture SoilMoisture::create(BluetoothGatt & gatt) { return SoilMoisture(gatt, *service, *c); } -SoilMoisture::SoilMoisture(BluetoothGatt & gatt, BluetoothGattService &s, BluetoothGattCharacteristic &c) : +SoilMoisture::SoilMoisture(BluetoothGatt &gatt, BluetoothGattService &s, BluetoothGattCharacteristic &c) : gatt(gatt), s(s), c(c) { } -- cgit v1.2.3