mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Revert "Fixed a bug which caused printing of floats larger than 100 in the CLI to crash"
This reverts commit 6ce8fe3c0f
.
This commit is contained in:
parent
e1f52d9c7b
commit
3dd6424f34
3 changed files with 1 additions and 16 deletions
|
@ -2448,7 +2448,7 @@ static void cliWrite(uint8_t ch)
|
|||
static void cliPrintVar(const clivalue_t *var, uint32_t full)
|
||||
{
|
||||
int32_t value = 0;
|
||||
char buf[13];
|
||||
char buf[8];
|
||||
|
||||
void *ptr = var->ptr;
|
||||
if ((var->type & VALUE_SECTION_MASK) == PROFILE_VALUE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue