Skip to content

Commit

Permalink
AP_HAL: rc channel wasn't completely protected by #define guards
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbuzz committed Mar 1, 2024
1 parent 4335aac commit d6fa241
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_HAL/board/chibios.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,6 @@
#endif
#define HAL_USE_QUADSPI (HAL_USE_QUADSPI1 || HAL_USE_QUADSPI2)
#define HAL_USE_OCTOSPI (HAL_USE_OCTOSPI1 || HAL_USE_OCTOSPI2)


// tip: AP_RC_CHANNEL_ENABLED is set by waf based on periph and/or iomcu
2 changes: 2 additions & 0 deletions libraries/AP_HAL/board/linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -419,3 +419,5 @@
#else
#define HAL_LINUX_USE_VIRTUAL_CAN 0
#endif

#define AP_RC_CHANNEL_ENABLED 1
1 change: 1 addition & 0 deletions libraries/AP_HAL/board/sitl.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@
#ifndef AP_FILTER_ENABLED
#define AP_FILTER_ENABLED 1
#endif

0 comments on commit d6fa241

Please sign in to comment.