Fixed buffer length used for ftoa.

This commit is contained in:
mikeller 2017-04-26 22:06:54 +12:00
parent c293414dd1
commit a2a9c4d05d
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ static void cliAdjustmentRange(char *cmdline)
static void printMotorMix(uint8_t dumpMask, const motorMixer_t *customMotorMixer, const motorMixer_t *defaultCustomMotorMixer)
{
const char *format = "mmix %d %s %s %s %s";
char buf0[8];
char buf0[FTOA_BUFFER_LENGTH];
char buf1[FTOA_BUFFER_LENGTH];
char buf2[FTOA_BUFFER_LENGTH];
char buf3[FTOA_BUFFER_LENGTH];