|
|
|
@ -19,6 +19,7 @@ void Copter::userhook_FastLoop()
@@ -19,6 +19,7 @@ void Copter::userhook_FastLoop()
|
|
|
|
|
void Copter::userhook_50Hz() |
|
|
|
|
{ |
|
|
|
|
// put your 50Hz code here
|
|
|
|
|
zr_app_50hz(); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
@ -26,6 +27,7 @@ void Copter::userhook_50Hz()
@@ -26,6 +27,7 @@ void Copter::userhook_50Hz()
|
|
|
|
|
void Copter::userhook_MediumLoop() |
|
|
|
|
{ |
|
|
|
|
// put your 10Hz code here
|
|
|
|
|
zr_app_10hz(); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
@ -40,6 +42,7 @@ void Copter::userhook_SlowLoop()
@@ -40,6 +42,7 @@ void Copter::userhook_SlowLoop()
|
|
|
|
|
void Copter::userhook_SuperSlowLoop() |
|
|
|
|
{ |
|
|
|
|
// put your 1Hz code here
|
|
|
|
|
zr_app_1hz(); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|