Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hwmon channel type set to unknown if !WITH_HWMON
Libiio being compiled without support for hwmon devices means that the local backend won't try to probe hwmon devices; but hwmon devices found by a remote libiio should still be usable across the network or USB, even if WITH_HWMON is disabled locally. Until now if the host libiio was compiled without hwmon support, it could see the target's hwmon devices but their type was wrong. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Reported-by: Adrian Suciu <adrian.suciu@analog.com>
- Loading branch information