mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/esp32/periph/pwm.c: fix format specifier
Use %u to print `unsigned`.
This commit is contained in:
parent
30ebacd784
commit
64f4f9a9be
@ -323,7 +323,7 @@ void pwm_poweroff(pwm_t pwm)
|
||||
void pwm_print_config(void)
|
||||
{
|
||||
for (unsigned pwm = 0; pwm < PWM_NUMOF; pwm++) {
|
||||
printf("\tPWM_DEV(%d)\tchannels=[ ", pwm);
|
||||
printf("\tPWM_DEV(%u)\tchannels=[ ", pwm);
|
||||
for (int i = 0; i < _CFG.ch_numof; i++) {
|
||||
printf("%d ", _CFG.gpios[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user