summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/esstinyb.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/esstinyb.cpp b/examples/esstinyb.cpp
index 1e34eccf..4f153aae 100644
--- a/examples/esstinyb.cpp
+++ b/examples/esstinyb.cpp
@@ -136,7 +136,6 @@ int main(int argc, char **argv)
bool bt_error = false;
/* Activate the temperature measurements by enabling notifications */
add_signal_handler();
- temp_characteristic->start_notify();
while (!bt_error && !interrupted) {
/* Read temperature data and display it */
try {
@@ -154,7 +153,6 @@ int main(int argc, char **argv)
bt_error = true;
}
}
- temp_characteristic->stop_notify();
delete temp_characteristic;
}