diff options
| author | sakumisu <[email protected]> | 2025-04-23 21:38:42 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-04-23 21:38:54 +0800 |
| commit | a838edb3e65bb6af3020f70b57e8bc4d9c41fc6f (patch) | |
| tree | e81849c0ff05710a1304739d11a5e839be55de2f | |
| parent | 894b80d9edbf8738cf81f3893c20194229afe63a (diff) | |
fix wformat warning
Signed-off-by: sakumisu <[email protected]>
| -rw-r--r-- | class/audio/usbh_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/class/audio/usbh_audio.c b/class/audio/usbh_audio.c index b8db689e..63b0b857 100644 --- a/class/audio/usbh_audio.c +++ b/class/audio/usbh_audio.c @@ -283,7 +283,7 @@ int usbh_audio_set_volume(struct usbh_audio *audio_class, const char *name, uint volume_max_db = (audio_class->as_msg_table[intf - audio_class->ctrl_intf - 1].volume_max - 0x10000) / 256; } - USB_LOG_INFO("Get ch:%d dB range: %d dB ~ %d dB\r\n", volume_min_db, volume_max_db); + USB_LOG_INFO("Get ch:%u dB range: %ddB ~ %ddB\r\n", ch, volume_min_db, volume_max_db); if (volume_db >= 0) { volume_hex = volume_db * 256; |
