• Dominic Clifton's avatar
    Cleanup status indicator code. · e6733b4d
    Dominic Clifton authored
    This primarily is to avaoid stalling the main loop when beeping and
    flashing.
    
    This is needed because oneshot ESCs do not receive updates when the main
    loop is stalled.
    
    Additionally the beeper code for sticks held in disarm position is
    changed since it also clashed with profile selection.  Now profile
    selections can be seen and heard clearly.
    
    Other subsections of the system that changed the LED0 state while the
    main loop is running have been updated to use the status indicator API
    instead of blindly hitting the hardware which previously caused lots of
    odd LED flashing behaviour - now it is consistent.
    e6733b4d
config.c 30 KB