From cfaec32a121b9df3e477f1a0107cf7c5acb4dd1b Mon Sep 17 00:00:00 2001 From: Felix Brack Date: Sun, 26 Apr 2026 15:13:09 +0200 Subject: [PATCH] Fix confusion of buffer allocation model in comment Special FromISR versions of these functions are available in BufferAllocation_1.c, not BufferAllocation_2.c. --- source/include/NetworkBufferManagement.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/include/NetworkBufferManagement.h b/source/include/NetworkBufferManagement.h index 3fd9804a3f..da21082c73 100644 --- a/source/include/NetworkBufferManagement.h +++ b/source/include/NetworkBufferManagement.h @@ -46,11 +46,11 @@ BaseType_t xNetworkBuffersInitialise( void ); NetworkBufferDescriptor_t * pxGetNetworkBufferWithDescriptor( size_t xRequestedSizeBytes, TickType_t xBlockTimeTicks ); -/* The definition of the below function is only available if BufferAllocation_2.c has been linked into the source. */ +/* The definition of the below function is only available if BufferAllocation_1.c has been linked into the source. */ NetworkBufferDescriptor_t * pxNetworkBufferGetFromISR( size_t xRequestedSizeBytes ); void vReleaseNetworkBufferAndDescriptor( NetworkBufferDescriptor_t * const pxNetworkBuffer ); -/* The definition of the below function is only available if BufferAllocation_2.c has been linked into the source. */ +/* The definition of the below function is only available if BufferAllocation_1.c has been linked into the source. */ BaseType_t vNetworkBufferReleaseFromISR( NetworkBufferDescriptor_t * const pxNetworkBuffer ); uint8_t * pucGetNetworkBuffer( size_t * pxRequestedSizeBytes ); void vReleaseNetworkBuffer( uint8_t * pucEthernetBuffer );