4 void Copter::userhook_init()
6 // put your initialisation code here
7 // this will be called once at start-up
11 #ifdef USERHOOK_FASTLOOP
12 void Copter::userhook_FastLoop()
14 // put your 100Hz code here
18 #ifdef USERHOOK_50HZLOOP
19 void Copter::userhook_50Hz()
21 // put your 50Hz code here
25 #ifdef USERHOOK_MEDIUMLOOP
26 void Copter::userhook_MediumLoop()
28 // put your 10Hz code here
32 #ifdef USERHOOK_SLOWLOOP
33 void Copter::userhook_SlowLoop()
35 // put your 3.3Hz code here
39 #ifdef USERHOOK_SUPERSLOWLOOP
40 void Copter::userhook_SuperSlowLoop()
42 // put your 1Hz code here
46 #ifdef USERHOOK_AUXSWITCH
47 void Copter::userhook_auxSwitch1(const RC_Channel::AuxSwitchPos ch_flag
)
49 // put your aux switch #1 handler here (CHx_OPT = 47)
52 void Copter::userhook_auxSwitch2(const RC_Channel::AuxSwitchPos ch_flag
)
54 // put your aux switch #2 handler here (CHx_OPT = 48)
57 void Copter::userhook_auxSwitch3(const RC_Channel::AuxSwitchPos ch_flag
)
59 // put your aux switch #3 handler here (CHx_OPT = 49)