Skip to content
Snippets Groups Projects
Commit 33addb6e authored by Niccolò Betto's avatar Niccolò Betto
Browse files

[SensorManager] Print before initializing a sensor

Helps with detecting endless sensor initialization.
parent 9c27b7d1
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,7 @@ bool SensorManager::init(const SensorMap_t& sensorsMap)
AbstractSensor* sensor = it.first;
SensorInfo sensorInfo = it.second;
LOG_DEBUG(logger, "Initializing sensor {}", sensorInfo.id);
// Try to initialize the sensors
if (!initSensor(sensor))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment