attenuator: disable GPIO debugging

This commit is contained in:
Harald Welte 2021-05-05 22:57:37 +02:00
parent 7b684307f7
commit e431886969
1 changed files with 2 additions and 1 deletions

View File

@ -137,6 +137,7 @@ void attenuator_init(const struct attenuator_cfg *cfg,
if (at->le.bank != banks[k])
continue;
pins[k] |= at->le.gpio_nr;
//printf("CH%u ST%u: GPIO Bank %u Pin %lu\r\n", i, j, k, at->le.gpio_nr);
}
}
}
@ -153,7 +154,7 @@ void attenuator_init(const struct attenuator_cfg *cfg,
for (k = 0; k < ARRAY_SIZE(banks); k++) {
if (!pins[k])
continue;
printf("GPIO Bank %u: 0x%08lx\n", k, pins[k]);
//printf("GPIO Bank %u: 0x%08lx\r\n", k, pins[k]);
rcc_periph_clock_enable(periph[k]);
#ifdef STM32F1