2016-01-14 15:30:56 -04:00
|
|
|
#include "Sub.h"
|
2015-12-30 18:57:56 -04:00
|
|
|
|
|
|
|
#ifdef USERHOOK_INIT
|
2016-03-16 19:18:46 -03:00
|
|
|
void Sub::userhook_init()
|
2015-12-30 18:57:56 -04:00
|
|
|
{
|
|
|
|
// put your initialisation code here
|
|
|
|
// this will be called once at start-up
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USERHOOK_FASTLOOP
|
2016-03-16 19:18:46 -03:00
|
|
|
void Sub::userhook_FastLoop()
|
2015-12-30 18:57:56 -04:00
|
|
|
{
|
|
|
|
// put your 100Hz code here
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USERHOOK_50HZLOOP
|
2016-03-16 19:18:46 -03:00
|
|
|
void Sub::userhook_50Hz()
|
2015-12-30 18:57:56 -04:00
|
|
|
{
|
|
|
|
// put your 50Hz code here
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USERHOOK_MEDIUMLOOP
|
2016-03-16 19:18:46 -03:00
|
|
|
void Sub::userhook_MediumLoop()
|
2015-12-30 18:57:56 -04:00
|
|
|
{
|
|
|
|
// put your 10Hz code here
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USERHOOK_SLOWLOOP
|
2016-03-16 19:18:46 -03:00
|
|
|
void Sub::userhook_SlowLoop()
|
2015-12-30 18:57:56 -04:00
|
|
|
{
|
|
|
|
// put your 3.3Hz code here
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef USERHOOK_SUPERSLOWLOOP
|
2016-03-16 19:18:46 -03:00
|
|
|
void Sub::userhook_SuperSlowLoop()
|
2015-12-30 18:57:56 -04:00
|
|
|
{
|
|
|
|
// put your 1Hz code here
|
|
|
|
}
|
|
|
|
#endif
|