altos: Keep telemetry and command output from interleaving
authorKeith Packard <keithp@keithp.com>
Wed, 27 Jul 2016 19:24:27 +0000 (12:24 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 27 Jul 2016 19:24:27 +0000 (12:24 -0700)
commit17adfd7939ff697afa96f7207a3fe17b6af789bd
tree35d5e1145121b0be0e20fd9820d69f1347abde79
parent1667cb8e8b702b05fc3ec39ee49029885df64a4a
altos: Keep telemetry and command output from interleaving

When monitoring telemetry, the frame needs to be sent together on one
line, not split with the output of a command (like 'a') mixed in.

Use a mutex for products with monitoring to keep command output and
telemetry output each on separate lines.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao.h
src/kernel/ao_cmd.c
src/kernel/ao_monitor.c