mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 10:50:19 +08:00
init frsky_state properly
This commit is contained in:
committed by
Lorenz Meier
parent
ab596e3711
commit
bebe8b0a78
@@ -194,6 +194,7 @@ static int frsky_telemetry_thread_main(int argc, char *argv[])
|
||||
|
||||
/* Main thread loop */
|
||||
char sbuf[20];
|
||||
frsky_state = IDLE;
|
||||
|
||||
while (frsky_state == IDLE) {
|
||||
/* 2 byte polling frames indicate SmartPort telemetry
|
||||
|
||||
Reference in New Issue
Block a user