AP_UAVCAN: tidy includes of SRV_Channel.h

This commit is contained in:
Peter Barker 2023-01-25 08:39:44 +11:00 committed by Peter Barker
parent ad57141a85
commit 6cdbc95d9d
2 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@
#include <AP_ESC_Telem/AP_ESC_Telem_Backend.h>
#include <uavcan/protocol/param/GetSet.hpp>
#include <uavcan/protocol/param/ExecuteOpcode.hpp>
#include <SRV_Channel/SRV_Channel.h>
#include <SRV_Channel/SRV_Channel_config.h>
#ifndef UAVCAN_SRV_NUMBER

View File

@ -24,6 +24,7 @@
#include "AP_UAVCAN.h"
#include "AP_UAVCAN_pool.h"
#include <AP_InternalError/AP_InternalError.h>
AP_PoolAllocator::AP_PoolAllocator(uint16_t _pool_size) :
num_blocks(_pool_size / UAVCAN_NODE_POOL_BLOCK_SIZE)