Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scanning: add hwmon only systems to scanning.
previously scanning on devices like default Raspberry Pi, would show things like: pi@raspberrypi:~ $ iio_info -s No IIO context found. However, this is not correct, since it has HWMON devices (which libiio now understands). So make sure we add this to the scan context. After the patch is applied, we get things like: pi@raspberrypi:~/libiio $ ./build/tests/iio_info -s Available contexts: 0: (cpu_thermal, rpi_volt on Raspberry Pi 4 Model B Rev 1.1) [local:] which is correct. Signed-off-by: Robin Getz <[email protected]>
- Loading branch information