Merge pull request #2956 from mikeller/fix_ftoa_buffer_length

Fixed buffer length used for ftoa.
This commit is contained in:
Michael Keller 2017-04-30 22:48:35 +12:00 committed by GitHub
commit 2029fd5acc
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];