Avoid repeat i.e. Telemetry Lost / Trainer Lost until prompts fifo is… (#5121)

* Avoid repeat i.e. Telemetry Lost / Trainer Lost until prompts fifo is full ...

* Rename functions

* Belt and braces
This commit is contained in:
Bertrand Songis
2017-08-09 11:59:13 +02:00
committed by Andre Bernet
parent 7d386e7821
commit 96f1a16744
4 changed files with 33 additions and 16 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ PLAY_FUNCTION(playValue, source_t idx)
#endif
#if defined(CPUARM)
void playCustomFunctionFile(const CustomFunctionData *sd, uint8_t id)
void playCustomFunctionFile(const CustomFunctionData * sd, uint8_t id)
{
if (sd->play.name[0] != '\0') {
char filename[sizeof(SOUNDS_PATH)+sizeof(sd->play.name)+sizeof(SOUNDS_EXT)] = SOUNDS_PATH "/";