RC_Channel: use FieldBitmaskEnum and FieldValueEnum

This commit is contained in:
Peter Barker 2023-01-24 15:36:52 +11:00 committed by Andrew Tridgell
parent a2444d1df3
commit 51bef52041
1 changed files with 3 additions and 0 deletions

View File

@ -1033,8 +1033,11 @@ bool RC_Channel::run_aux_function(aux_func_t ch_option, AuxSwitchPos pos, AuxFun
// @Description: Auxiliary function invocation information
// @Field: TimeUS: Time since system startup
// @Field: function: ID of triggered function
// @FieldValueEnum: function: RC_Channel::AUX_FUNC
// @Field: pos: switch position when function triggered
// @FieldValueEnum: pos: RC_Channel::AuxSwitchPos
// @Field: source: source of auxiliary function invocation
// @FieldValueEnum: source: RC_Channel::AuxFuncTriggerSource
// @Field: result: true if function was successful
AP::logger().Write(
"AUXF",