1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/uwb-dw1000: fix compilation with clang

This commit is contained in:
Marian Buschsieweke 2023-05-19 22:49:45 +02:00 committed by Marian Buschsieweke
parent a6571c1bff
commit d2e04ed14c
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94
2 changed files with 2 additions and 2 deletions

View File

@ -153,8 +153,8 @@ void uwb_dw1000_update_config_from_otp(dw1000_dev_instance_t *dev)
((_dw1000_otp_read(dev,
OTP_CH5_PG_DELAY_ADDRESS) & OTP_CH5_PG_DELAY_MASK) >>
OTP_CH5_PG_DELAY_SHIFT);
LOG_DEBUG("uwb-dw1000: pg-delay addr=(%" PRIx16 "),val=(%" PRIx16 ")\n",
OTP_CH5_PG_DELAY_ADDRESS, pg_delay);
LOG_DEBUG("uwb-dw1000: pg-delay addr=(%x),val=(%x)\n",
(unsigned)OTP_CH5_PG_DELAY_ADDRESS, (unsigned)pg_delay);
dev->uwb_dev.config.txrf.PGdly = pg_delay;
}
}