AUTO1 FLAPS/HATCH COMMANDS.
Enable RC controlled HATCH and BRAKE/FLAPS in both MANUAL and AUTO1, while automatic in AUTO2.
Example for airframe file
Add to your firmware section:
<module name="auto1_commands"/>
Module functions
Periodic Functions
These functions are called periodically at the specified frequency from the module periodic loop.
- periodic_auto1_commands()
- Running at maximum module frequency.
- Autorun: TRUE
Periodic function automatically starts after init.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw auto1_commands.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="auto1_commands" dir="switching">
<doc>
<description>AUTO1 FLAPS/HATCH COMMANDS.
Enable RC controlled HATCH and BRAKE/FLAPS in both MANUAL and AUTO1, while automatic in AUTO2.
</description>
</doc>
<header>
<file name="auto1_commands.h"/>
</header>
<periodic fun="periodic_auto1_commands()" autorun="TRUE"/>
<makefile>
<file name="auto1_commands.c"/>
</makefile>
</module>