Browse Source

AP_HAL_ChibiOS: add #ifdef around toneAlarm thread stack declaration

mission-4.1.18
Mark Whitehorn 7 years ago committed by Andrew Tridgell
parent
commit
da69832140
  1. 2
      libraries/AP_HAL_ChibiOS/Scheduler.cpp

2
libraries/AP_HAL_ChibiOS/Scheduler.cpp

@ -37,7 +37,9 @@ using namespace ChibiOS; @@ -37,7 +37,9 @@ using namespace ChibiOS;
extern const AP_HAL::HAL& hal;
THD_WORKING_AREA(_timer_thread_wa, 2048);
THD_WORKING_AREA(_rcin_thread_wa, 512);
#ifdef HAL_PWM_ALARM
THD_WORKING_AREA(_toneAlarm_thread_wa, 512);
#endif
THD_WORKING_AREA(_io_thread_wa, 2048);
THD_WORKING_AREA(_storage_thread_wa, 2048);
#if HAL_WITH_UAVCAN

Loading…
Cancel
Save