diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-28 16:27:40 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-28 16:27:40 -0400 |
commit | d08e6b10ff96022957720f929aec8d46cbcd375d (patch) | |
tree | 3e7d533d735b1961405c267f1386adff71d01a4f | |
parent | 9d9adb6254098a66412a8eee85b1f2f27678e68e (diff) | |
download | librambutan-d08e6b10ff96022957720f929aec8d46cbcd375d.tar.gz librambutan-d08e6b10ff96022957720f929aec8d46cbcd375d.zip |
Cosmetics.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r-- | libmaple/adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/adc.c b/libmaple/adc.c index acce923..e108332 100644 --- a/libmaple/adc.c +++ b/libmaple/adc.c @@ -101,7 +101,7 @@ uint16 adc_read(const adc_dev *dev, uint8 channel) { regs->SQR3 = channel; regs->CR2 |= ADC_CR2_SWSTART; - while(!(regs->SR & ADC_SR_EOC)) + while (!(regs->SR & ADC_SR_EOC)) ; return (uint16)(regs->DR & ADC_DR_DATA); |