[Stylecheck] Code cleaned to current stylecheck script

This commit is contained in:
BuFran
2013-07-11 13:54:22 +02:00
committed by Piotr Esden-Tempski
parent 210a17ec97
commit efc2489d2c
7 changed files with 39 additions and 37 deletions

View File

@@ -90,12 +90,12 @@ uint32_t exti_get_flag_status(uint32_t exti)
void exti_select_source(uint32_t exti, uint32_t gpioport)
{
uint32_t line;
for (line=0; line<16; line++)
{
if (!(exti & (1 << line)))
for (line = 0; line < 16; line++) {
if (!(exti & (1 << line))) {
continue;
}
uint32_t bits = 0, mask=0x0F;
uint32_t bits = 0, mask = 0x0F;
switch (gpioport) {
case GPIOA: