mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Fixed buffer length used for ftoa.
This commit is contained in:
parent
c293414dd1
commit
a2a9c4d05d
1 changed files with 1 additions and 1 deletions
|
@ -993,7 +993,7 @@ static void cliAdjustmentRange(char *cmdline)
|
||||||
static void printMotorMix(uint8_t dumpMask, const motorMixer_t *customMotorMixer, const motorMixer_t *defaultCustomMotorMixer)
|
static void printMotorMix(uint8_t dumpMask, const motorMixer_t *customMotorMixer, const motorMixer_t *defaultCustomMotorMixer)
|
||||||
{
|
{
|
||||||
const char *format = "mmix %d %s %s %s %s";
|
const char *format = "mmix %d %s %s %s %s";
|
||||||
char buf0[8];
|
char buf0[FTOA_BUFFER_LENGTH];
|
||||||
char buf1[FTOA_BUFFER_LENGTH];
|
char buf1[FTOA_BUFFER_LENGTH];
|
||||||
char buf2[FTOA_BUFFER_LENGTH];
|
char buf2[FTOA_BUFFER_LENGTH];
|
||||||
char buf3[FTOA_BUFFER_LENGTH];
|
char buf3[FTOA_BUFFER_LENGTH];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue