Add a reminder of internal CRSF speed in model setup
This commit is contained in:
@@ -158,6 +158,13 @@ char *getStringAtIndex(char *dest, const char *s, int idx)
|
||||
return dest;
|
||||
}
|
||||
|
||||
const char *getStringAtIndex(const char *s, int idx)
|
||||
{
|
||||
uint8_t len = s[0];
|
||||
return s + 1 + len * idx;
|
||||
}
|
||||
|
||||
|
||||
char *strAppendStringWithIndex(char *dest, const char *s, int idx)
|
||||
{
|
||||
return strAppendUnsigned(strAppend(dest, s), abs(idx));
|
||||
|
||||
Reference in New Issue
Block a user