melexis / mlx90632-library

MLX90632 library for the Melexis 90632 Infra Red temperature sensor.
Apache License 2.0
42 stars 15 forks source link

Return value could be 0 when channels were not set #5

Closed Letme closed 6 years ago

Letme commented 6 years ago

There was ret 0 in case input ret was 0. Now the ret is not reflecting channel error anymore, but bluntly returns -EINVAL.