From d08e6b10ff96022957720f929aec8d46cbcd375d Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Thu, 28 Jun 2012 16:27:40 -0400 Subject: Cosmetics. Signed-off-by: Marti Bolivar --- libmaple/adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmaple') 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); -- cgit v1.2.3