mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
get rid of audiohw_reset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15720 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
43cb7c3549
commit
41a67a7e90
14 changed files with 2 additions and 28 deletions
|
|
@ -201,7 +201,7 @@ void audiohw_enable_output(bool enable)
|
|||
}
|
||||
}
|
||||
|
||||
void audiohw_reset(void)
|
||||
static void reset(void)
|
||||
{
|
||||
#ifdef IRIVER_H300_SERIES
|
||||
int mask = set_irq_level(HIGHEST_IRQ_LEVEL);
|
||||
|
|
@ -261,7 +261,7 @@ void audiohw_init(void)
|
|||
recgain_mic = 0;
|
||||
recgain_line = 0;
|
||||
|
||||
audiohw_reset();
|
||||
reset();
|
||||
|
||||
if (audiohw_set_regs() == -1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue