diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-10 15:07:58 -0400 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-10 15:08:47 -0400 |
commit | 405f010ade01fc337e9dbf9728260783ad62f4a3 (patch) | |
tree | 0c54e42191079577c054ccc00254804c34258ef3 /watch-library/hardware/watch/watch_adc.c | |
parent | 7b06d7d6fdbbf282ea32cfd0871e6b0310a08d0c (diff) | |
download | Sensor-Watch-405f010ade01fc337e9dbf9728260783ad62f4a3.tar.gz Sensor-Watch-405f010ade01fc337e9dbf9728260783ad62f4a3.tar.bz2 Sensor-Watch-405f010ade01fc337e9dbf9728260783ad62f4a3.zip |
static analysis: add comments to empty while loops
Diffstat (limited to 'watch-library/hardware/watch/watch_adc.c')
-rw-r--r-- | watch-library/hardware/watch/watch_adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-library/hardware/watch/watch_adc.c b/watch-library/hardware/watch/watch_adc.c index c8c4d65a..476f0cbb 100644 --- a/watch-library/hardware/watch/watch_adc.c +++ b/watch-library/hardware/watch/watch_adc.c @@ -36,7 +36,7 @@ static uint16_t _watch_get_analog_value(uint16_t channel) { } ADC->SWTRIG.bit.START = 1; - while (!ADC->INTFLAG.bit.RESRDY); + while (!ADC->INTFLAG.bit.RESRDY); // wait for "result ready" flag return ADC->RESULT.reg; } |