From: Keith Packard Date: Fri, 26 May 2017 07:51:37 +0000 (-0700) Subject: altoslib: Make AltosReplayReader start synchronously enough to track states X-Git-Tag: 1.8~91 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=aa0300f11fe5b7f1d3e548e29dc809b803aa1f7a;hp=aa0300f11fe5b7f1d3e548e29dc809b803aa1f7a altoslib: Make AltosReplayReader start synchronously enough to track states The Altos UI needs to see 'pad' state and then 'boost' state so that it will automatically switch tabs during the flight. When reading from eeprom files, the only way that is going to happen is if the reader thread waits until the UI has definitely seen 'pad' state, which we do by simply delaying the reader thread until after that has happened. Signed-off-by: Keith Packard ---