diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-01 16:08:20 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-01 16:08:20 -0400 |
commit | a96eb1a7f7aff5aea41c14b9edcec34564ab27b6 (patch) | |
tree | 959b4bccfa17ac292cb3849cf488f5b69a519fb2 /apps/misc.c | |
parent | b030bf5885dc5e018dd38eacbb294f1321f2b400 (diff) | |
download | rockbox-a96eb1a7f7.tar.gz rockbox-a96eb1a7f7.zip |
Fix warnings and errors introduced in b030bf5
Change-Id: I23966b6a79c0d2cbab2e01c649c1b991f460d8ad
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c index d255eaf766..7d4ca97ff8 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -534,7 +534,9 @@ static void lo_unplug_change(bool inserted) #ifdef HAVE_LINEOUT_POWEROFF lineout_set(inserted); #else +#ifdef AUDIOHW_HAVE_LINEOUT audiohw_set_lineout_volume(0,0); /*hp vol re-set by this function as well*/ +#endif static bool lineout_caused_pause = true; if (global_settings.unplug_mode) |