aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authortfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4>2017-01-04 19:35:45 +0000
committertfateba <tfateba@35acf78f-673a-0410-8e92-d51de3d6d3f4>2017-01-04 19:35:45 +0000
commit4f151d41f1ae00e9348b6bc3b6f179b25b103b31 (patch)
treee0d24ce28c8f3c4cc109ea7f3a9ff4a971ea777c /os
parentec8fcc30ca9be56cbc73255202cc91807f6aad85 (diff)
downloadChibiOS-4f151d41f1ae00e9348b6bc3b6f179b25b103b31.tar.gz
ChibiOS-4f151d41f1ae00e9348b6bc3b6f179b25b103b31.tar.bz2
ChibiOS-4f151d41f1ae00e9348b6bc3b6f179b25b103b31.zip
Correction to respect the project code style.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10017 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/AVR/hal_adc_lld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/os/hal/ports/AVR/hal_adc_lld.c b/os/hal/ports/AVR/hal_adc_lld.c
index 62848d4a4..7cc11bf76 100644
--- a/os/hal/ports/AVR/hal_adc_lld.c
+++ b/os/hal/ports/AVR/hal_adc_lld.c
@@ -91,7 +91,8 @@ OSAL_IRQ_HANDLER(ADC_vect) {
if (ADCD1.currentBufferPosition == bufferSize) {
_adc_isr_full_code(&ADCD1);
- } else {
+ }
+ else {
setAdcChannel(getAdcChannelNumberFromMask(ADCD1.grpp->channelsMask,currentChannel));
ADCSRA |= 1 << ADSC;
}