Bugfix missing YAML padding.
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
#include "definitions.h"
|
#include "definitions.h"
|
||||||
#include "opentx_types.h"
|
#include "opentx_types.h"
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
|
#include "serial.h"
|
||||||
|
|
||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
#define N_TARANIS_FIELD(x)
|
#define N_TARANIS_FIELD(x)
|
||||||
|
|||||||
@@ -1854,6 +1854,7 @@ static bool port_write(void* user, yaml_writer_func wf, void* opaque)
|
|||||||
static const struct YamlNode struct_serialConfig[] = {
|
static const struct YamlNode struct_serialConfig[] = {
|
||||||
YAML_IDX_CUST( "port", port_read, port_write),
|
YAML_IDX_CUST( "port", port_read, port_write),
|
||||||
YAML_ENUM( "mode", 4, enum_UartModes),
|
YAML_ENUM( "mode", 4, enum_UartModes),
|
||||||
|
YAML_PADDING( 3 ),
|
||||||
YAML_UNSIGNED( "power", 1 ),
|
YAML_UNSIGNED( "power", 1 ),
|
||||||
YAML_END
|
YAML_END
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user