Skip to content
Snippets Groups Projects
Commit bcb94a71 authored by Matteo Pignataro's avatar Matteo Pignataro
Browse files

[BME280] Added return false

parent 58e7700f
Branches
Tags
No related merge requests found
...@@ -117,6 +117,8 @@ bool BME280::init() ...@@ -117,6 +117,8 @@ bool BME280::init()
LOG_ERR(logger, "Device configuration incorrect, setup failed"); LOG_ERR(logger, "Device configuration incorrect, setup failed");
lastError = SensorErrors::NOT_INIT; lastError = SensorErrors::NOT_INIT;
return false;
} }
initialized = true; initialized = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment