commit | 052eb6180d25f42de0b25b06b5fe0cef88441ae4 | [log] [tgz] |
---|---|---|
author | Jeppe Odgaard <jeppe.odgaard@prevas.dk> | Wed May 22 08:46:56 2024 +0200 |
committer | Alberto Escolar <alberto.escolar.piedras@nordicsemi.no> | Tue Jun 04 16:36:14 2024 +0200 |
tree | 7cfe3216b4ca24ea47ab5faadec046acb488b014 | |
parent | 7c3b66eac85cdade79d090fc4d9360d07ce04d2b [diff] |
drivers: adc: adc_ad559x: fix 5593 adc read The AD5593 conversion result also contains the channel read and not just a value: | adc channel (3 bits) | adc value (12 bits) | This value was not removed from the result before using it as an adc value. Reuse the AD5592 code to fix the issue. Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>