mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
|
@ -470,12 +470,6 @@ static bool mpeg_set_int(const char *string, const char *unit,
|
|||
return usb;
|
||||
}
|
||||
|
||||
static inline int talk_val(long n, int unit, bool enqueue)
|
||||
{
|
||||
#define NODECIMALS 0
|
||||
return rb->talk_value_decimal(n, unit, NODECIMALS, enqueue);
|
||||
}
|
||||
|
||||
static int32_t backlight_brightness_getlang(int value, int unit)
|
||||
{
|
||||
if (value < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue