diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-04-11 13:20:58 +1000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-04-11 13:21:57 +1000 |
| commit | 0096a4bd005606489a5b7fdfda8e2a60a1709e13 (patch) | |
| tree | 35c0f8a42db03255261bc58e164c0644269ee403 /ports/stm32/adc.c | |
| parent | de9528d12c73d658406d1b11ff44d7a39596af01 (diff) | |
tests/pyb/adc.py: Fix test so that it really does test ADC values.
Reading into a bytearray will truncate values to 0xff so the assertions
checking read_timed() would previously always succeed.
Thanks to @peterhinch for finding this problem and providing the solution.
Diffstat (limited to 'ports/stm32/adc.c')
0 files changed, 0 insertions, 0 deletions
