getStringWithIndex renamed to strAppendStringWithIndex. It returns now the end of the string so that anything can be appended.

This commit is contained in:
Bertrand Songis
2016-08-23 20:51:40 +02:00
parent 643a731979
commit dd1ca93b70
2 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ char * strAppendFilename(char * dest, const char * filename, const int size);
#if defined(CPUARM) && !defined(BOOT)
char * getStringAtIndex(char * dest, const char * s, int idx);
char * getStringWithIndex(char * dest, const char * s, int idx);
char * strAppendStringWithIndex(char * dest, const char * s, int idx);
#define LEN_TIMER_STRING 10 // "-00:00:00"
char * getTimerString(char * dest, int32_t tme, uint8_t hours=0);
char * getCurveString(char * dest, int idx);