forked from len0rd/rockbox
Fix Auto Ranged Time Fix Red for Database
Change-Id: I8f4edc4ca84792f977ea673d2435e15f7e2da14e
This commit is contained in:
parent
4a8f263a7d
commit
d258edbb4f
1 changed files with 4 additions and 2 deletions
|
|
@ -1111,7 +1111,8 @@ char* skip_whitespace(char* const str)
|
|||
|
||||
return s;
|
||||
}
|
||||
#ifndef CHECKWPS
|
||||
|
||||
#if !defined(CHECKWPS) && !defined(DBTOOL)
|
||||
/* time_split_units()
|
||||
split time values depending on base unit
|
||||
unit_idx: UNIT_HOUR, UNIT_MIN, UNIT_SEC, UNIT_MS
|
||||
|
|
@ -1337,7 +1338,8 @@ void format_time(char* buf, int buf_size, long t)
|
|||
t < 0, "-", units_in[UNIT_IDX_HR], hashours, ":",
|
||||
hashours+1, units_in[UNIT_IDX_MIN], units_in[UNIT_IDX_SEC]);
|
||||
}
|
||||
#endif /* !defined(CHECKWPS) */
|
||||
#endif /* !defined(CHECKWPS) && !defined(DBTOOL)*/
|
||||
|
||||
/**
|
||||
* Splits str at each occurence of split_char and puts the substrings into vector,
|
||||
* but at most vector_lenght items. Empty substrings are ignored.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue