aboutsummaryrefslogtreecommitdiff
path: root/apps/SoilMoisture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/SoilMoisture.cpp')
-rw-r--r--apps/SoilMoisture.cpp5
1 files changed, 2 insertions, 3 deletions
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) {
}