On 31.07.2020 01:01, Jonathan Bakker wrote: > Instead of keeping a local copy of how many sensors we've probed > (which may not even properly represent the number of sensors > probed if we have a port without a sensor), use the global > num_sensors counter that has the actual number used. > > This will also make it easier to add support for multiple sensors > being connected to the same port. > > Signed-off-by: Jonathan Bakker <xc-racer2@xxxxxxx> Reviewed-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>