Use the same pattern for cleaning the frame complete flag in spektrum
commite08c83fdc9142fd2efdf0098710fc48bf194a464
authorDominic Clifton <me@dominicclifton.name>
Sat, 14 Mar 2015 22:56:06 +0000 (14 23:56 +0100)
committerDominic Clifton <me@dominicclifton.name>
Sat, 14 Mar 2015 23:02:45 +0000 (15 00:02 +0100)
treeffe699335caeb85d1968f818fa231ffaed4eeba2
parent7d6e4aa3900370c8a11a020337ea2079846f3de6
Use the same pattern for cleaning the frame complete flag in spektrum
and xbus driver as used in sbus/sumd/sumh drivers.

Very minor performance optimization too since the flag is only checked
once per main loop instead of once per channel read.
src/main/rx/spektrum.c
src/main/rx/xbus.c