usb_audio: Fix compile failure with a (debug && !logf) build

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit e13619b888baa686693d4c682f0504af9c7bd6af
Author: Solomon Peachy <[email protected]>
Date:   Mon Jan 19 09:24:41 2026 -0500

    usb_audio:  Fix compile failure with a (debug && !logf) build
    
    Change-Id: Ie571020b0187c791d02b00c82af2d0dbc2237227

diff --git a/firmware/usbstack/usb_audio.c b/firmware/usbstack/usb_audio.c
index e55e93ce9b..3e7bab7f45 100644
--- a/firmware/usbstack/usb_audio.c
+++ b/firmware/usbstack/usb_audio.c
@@ -938,7 +938,7 @@ static int db_to_usb_audio_volume(int db, int numdecimals)
     return tmp;
 }
 
-#if defined(LOGF_ENABLE) && defined(ROCKBOX_HAS_LOGF)
+#if defined(DEBUG) || (defined(LOGF_ENABLE) && defined(ROCKBOX_HAS_LOGF))
 static const char *usb_audio_ac_ctl_req_str(uint8_t cmd)
 {
     switch(cmd)
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.