]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commit
port_adc_get: Do not leak data
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 2 Sep 2015 15:59:46 +0000 (17:59 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 3 Sep 2015 08:22:12 +0000 (10:22 +0200)
commitd90fa6e6df88d22fdaa50aa86136dae5e883eb99
tree2af004efe0c22f0305410102f7270e5b60534f40
parent3814183deb0f4efa95b2fc7d31391d7118842cf5
port_adc_get: Do not leak data

If the caller requested more data than what ADC actually returns
zero the fields not filled by ADC.
rpp/src/drv/adc.c