mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19575
19575: treewide: fix format specifiers r=maribu a=maribu ### Contribution description This brings format specifiers and the passed type back into sync. This won't change observable behavior in one case, and won't even change machine code in the other. But formally, this fixes bugs. Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
This commit is contained in:
commit
4d190935ef
@ -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]);
|
||||
}
|
||||
|
@ -344,7 +344,7 @@ static int _print_reply(gnrc_pktsnip_t *pkt, int corrupted, uint32_t triptime, v
|
||||
}
|
||||
/* check response for corruption */
|
||||
else if (corrupted >= 0) {
|
||||
printf(" corrupted at offset %u", corrupted);
|
||||
printf(" corrupted at offset %u", (unsigned)corrupted);
|
||||
}
|
||||
if (rssi != GNRC_NETIF_HDR_NO_RSSI) {
|
||||
printf(" rssi=%"PRId16" dBm", rssi);
|
||||
|
Loading…
Reference in New Issue
Block a user