From 5eb0e0a71808f487919437e4e1f0c243dfdbc3e2 Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Sun, 23 Aug 2020 13:11:01 +0530 Subject: [PATCH] AP_HAL_ChibiOS: fix name for RX Queue size define --- libraries/AP_HAL_ChibiOS/CANFDIface.h | 2 +- libraries/AP_HAL_ChibiOS/CANIface.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/CANFDIface.h b/libraries/AP_HAL_ChibiOS/CANFDIface.h index 28c829138c..6b9918a566 100644 --- a/libraries/AP_HAL_ChibiOS/CANFDIface.h +++ b/libraries/AP_HAL_ChibiOS/CANFDIface.h @@ -45,7 +45,7 @@ #if HAL_NUM_CAN_IFACES -#ifndef HAL_CAN_RX_STORAGE_SIZE +#ifndef HAL_CAN_RX_QUEUE_SIZE #define HAL_CAN_RX_QUEUE_SIZE 128 #endif diff --git a/libraries/AP_HAL_ChibiOS/CANIface.h b/libraries/AP_HAL_ChibiOS/CANIface.h index 20a280e551..3d0c747531 100644 --- a/libraries/AP_HAL_ChibiOS/CANIface.h +++ b/libraries/AP_HAL_ChibiOS/CANIface.h @@ -48,7 +48,7 @@ #include "bxcan.hpp" #include "EventSource.h" -#ifndef HAL_CAN_RX_STORAGE_SIZE +#ifndef HAL_CAN_RX_QUEUE_SIZE #define HAL_CAN_RX_QUEUE_SIZE 128 #endif