Skip to content

Commit 20b72ac

Browse files
committed
AC_CustomControl: document CustomControl CC message
1 parent 252ee8f commit 20b72ac

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libraries/AC_CustomControl/AC_CustomControl.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,12 @@ bool AC_CustomControl::is_safe_to_run(void) {
178178

179179
// log when the custom controller is switch into
180180
void AC_CustomControl::log_switch(void) {
181+
// @LoggerMessage: CC
182+
// @Description: Custom Controller data
183+
// @Field: TimeUS: Time since system startup
184+
// @Field: Type: controller type
185+
// @FieldValueEnum: Type: AC_CustomControl::CustomControlType
186+
// @Field: Act: true if controller is active
181187
AP::logger().Write("CC", "TimeUS,Type,Act","QBB",
182188
AP_HAL::micros64(),
183189
_controller_type,

0 commit comments

Comments
 (0)