aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/AVR/MEGA/LLD
diff options
context:
space:
mode:
authorTheodore Ateba <tf.ateba@gmail.com>2017-08-24 23:01:41 +0000
committerTheodore Ateba <tf.ateba@gmail.com>2017-08-24 23:01:41 +0000
commit6904b7392c60cb91b70ad9acc5c279438d47b41e (patch)
treef818d439c23c8fafabad6655918108649ba0ad1a /os/hal/ports/AVR/MEGA/LLD
parent4c84325d5ee5dc36bfe9758ad0e552d0a88f2d78 (diff)
downloadChibiOS-6904b7392c60cb91b70ad9acc5c279438d47b41e.tar.gz
ChibiOS-6904b7392c60cb91b70ad9acc5c279438d47b41e.tar.bz2
ChibiOS-6904b7392c60cb91b70ad9acc5c279438d47b41e.zip
Add tabulation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10478 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/AVR/MEGA/LLD')
-rw-r--r--os/hal/ports/AVR/MEGA/LLD/EXTv1/hal_ext_lld.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/AVR/MEGA/LLD/EXTv1/hal_ext_lld.c b/os/hal/ports/AVR/MEGA/LLD/EXTv1/hal_ext_lld.c
index 72a236ced..18f180199 100644
--- a/os/hal/ports/AVR/MEGA/LLD/EXTv1/hal_ext_lld.c
+++ b/os/hal/ports/AVR/MEGA/LLD/EXTv1/hal_ext_lld.c
@@ -264,13 +264,13 @@ void ext_lld_channel_enable(EXTDriver *extp, expchannel_t channel) {
#endif
#if AVR_EXT_USE_INT2 || defined(__DOXYGEN__)
if (channel == INT2) {
- EIMSK |= 1 << INT2;
- ext_lld_set_intx_edges(channel, extp->config->channels[channel].mode);
+ EIMSK |= (1 << INT2);
+ ext_lld_set_intx_edges(channel, extp->config->channels[channel].mode);
}
#endif
#if AVR_EXT_USE_INT3 || defined(__DOXYGEN__)
if (channel == INT3) {
- EIMSK |= 1 << INT3;
+ EIMSK |= (1 << INT3);
ext_lld_set_intx_edges(channel, extp->config->channels[channel].mode);
}
#endif