1
0
Fork 0
forked from len0rd/rockbox

lib/helper add talk_val()

talk_value_decimal() replaced talk_value()

Change-Id: Ibb7c738d6f3b399fab2e771d8ab85967e3af96d1
This commit is contained in:
William Wilgus 2021-08-18 21:30:13 -04:00
parent 24e8fa317e
commit 0679faf65d
4 changed files with 9 additions and 12 deletions

View file

@ -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();