forked from len0rd/rockbox
lib/helper add talk_val()
talk_value_decimal() replaced talk_value() Change-Id: Ibb7c738d6f3b399fab2e771d8ab85967e3af96d1
This commit is contained in:
parent
24e8fa317e
commit
0679faf65d
4 changed files with 9 additions and 12 deletions
|
@ -27,6 +27,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "plugin.h"
|
||||
#include "lib/helper.h"
|
||||
#include "lib/kbd_helper.h"
|
||||
#include "lib/configfile.h"
|
||||
|
||||
|
@ -185,12 +186,6 @@ static void config_reset_voice(void)
|
|||
}
|
||||
|
||||
/****************** helper fuctions ******************/
|
||||
static inline int talk_val(long n, int unit, bool enqueue)
|
||||
{
|
||||
#define NODECIMALS 0
|
||||
return rb->talk_value_decimal(n, unit, NODECIMALS, enqueue);
|
||||
}
|
||||
|
||||
void announce(void)
|
||||
{
|
||||
rb->talk_force_shutup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue