Skip to content

Commit

Permalink
CarbonixF405: fix ESC[15] bug
Browse files Browse the repository at this point in the history
This fixes an issue where an errant ESC[15] would show up for 5 seconds
after boot that would contain NaN values. This is related to a bug that
was years ago in ArduPilot: ArduPilot/ardupilot#22308

Basically, different areas of the code had different values for
ESC_TELEM_MAX_ESCS based which other header files were included at that
time.

SW-187
  • Loading branch information
robertlong13 committed May 27, 2024
1 parent 986d24a commit 9c474a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/CarbonixF405/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,6 @@ define HAL_PERIPH_ENABLE_RC_OUT
# enable ESC control
define HAL_SUPPORT_RCOUT_SERIAL 1

define HAL_PERIPH_ARM_MONITORING_ENABLE 1
define HAL_PERIPH_ARM_MONITORING_ENABLE 1

define NUM_SERVO_CHANNELS 2

0 comments on commit 9c474a5

Please sign in to comment.