mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
HAL_ChibiOS: added a delete_next thread field for cleanup
allows for cleanup of web server threads in bootloader
This commit is contained in:
parent
5e7b211b79
commit
f7c7ee00e9
@ -708,8 +708,10 @@ extern "C" {
|
||||
* @brief Threads descriptor structure extension.
|
||||
* @details User fields added to the end of the @p thread_t structure.
|
||||
*/
|
||||
#ifndef CH_CFG_THREAD_EXTRA_FIELDS
|
||||
#define CH_CFG_THREAD_EXTRA_FIELDS \
|
||||
/* Add threads custom fields here.*/
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Threads initialization hook.
|
||||
|
@ -20,3 +20,5 @@ EXT_FLASH_SIZE_MB 0
|
||||
|
||||
# don't combine sdcard bl and network bl
|
||||
undef AP_BOOTLOADER_FLASH_FROM_SD_ENABLED
|
||||
|
||||
define CH_CFG_THREAD_EXTRA_FIELDS struct ch_thread *delete_next;
|
||||
|
Loading…
Reference in New Issue
Block a user