return0;// Sensor is already detected - do not bother (to re-detect it P_SENSOR should be set to 0)
// Sensor is already detected - do not bother (to re-detect it P_SENSOR should be set to 0)
return0;
}
}
// no other initializations, just the sensor-related stuff (starting with lowest sensor clock) // stop hardware i2c controller, so it will not get stuck when waiting for !busy
// no other initializations, just the sensor-related stuff (starting with lowest sensor clock) // stop hardware i2c controller, so it will not get stuck when waiting for !busy
// NC393 - nothing to do here - use a separate module for sensor setup: DT, sysfs, something else (add pin pullup/down)
// currently assign same sensor to all subchannels (first present)
// NC393 - nothing to do here - use a separate module for sensor setup: DT, sysfs, something else (add pin pullup/down)
//thispars->pars[P_SENSOR] = get_detected_sensor_code(sensor_port, -1); // "-1" - first detected sensor
// currently assign same sensor to all subchannles (first present)