commit | 0449e086c628112c746e13fc8e12706552d9a968 | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <hebad@vestas.com> | Sat Feb 20 18:58:11 2021 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Mon Mar 15 10:24:16 2021 +0100 |
tree | 9f5ce0282a04dce4ec81844d9be293dbf454af2c | |
parent | bbdeee65a3f89421cc1c32ca6f809dd0d35de8ab [diff] |
samples: shields: lmp90100_evb: rtd: improve readability, fix off-by-one Improve the readability of the LMP90100-EVB RTD sample by adding comments and further definitions instead of magic values within the code. This furthermore fixes an off-by-one error for the maximum ADC value used in the formula for calculating the resistance of the RTD (8388607 vs. 8388608). Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>