mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
indents
This commit is contained in:
parent
e198f1727b
commit
6ee98fed90
2 changed files with 2 additions and 2 deletions
|
@ -193,7 +193,7 @@ static void resetConf(void)
|
||||||
mcfg.power_adc_channel = 0;
|
mcfg.power_adc_channel = 0;
|
||||||
mcfg.serialrx_type = 0;
|
mcfg.serialrx_type = 0;
|
||||||
mcfg.telemetry_softserial = 0;
|
mcfg.telemetry_softserial = 0;
|
||||||
mcfg.telemetry_switch = 0;
|
mcfg.telemetry_switch = 0;
|
||||||
mcfg.midrc = 1500;
|
mcfg.midrc = 1500;
|
||||||
mcfg.mincheck = 1100;
|
mcfg.mincheck = 1100;
|
||||||
mcfg.maxcheck = 1900;
|
mcfg.maxcheck = 1900;
|
||||||
|
|
|
@ -250,7 +250,7 @@ static uint8_t cycleNum = 0;
|
||||||
|
|
||||||
void sendTelemetry(void)
|
void sendTelemetry(void)
|
||||||
{
|
{
|
||||||
if (mcfg.telemetry_softserial == TELEMETRY_UART && ((!f.ARMED && !mcfg.telemetry_switch) || ( mcfg.telemetry_switch && !rcOptions[BOXTELEMETRY])))
|
if (mcfg.telemetry_softserial == TELEMETRY_UART && ((!f.ARMED && !mcfg.telemetry_switch) || (mcfg.telemetry_switch && !rcOptions[BOXTELEMETRY])))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (serialTotalBytesWaiting(core.telemport) != 0)
|
if (serialTotalBytesWaiting(core.telemport) != 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue