From 9cb8aabd5d89b030d527f1c8da1676ec9dbb805c Mon Sep 17 00:00:00 2001 From: arighi Date: Sun, 31 Oct 2010 09:44:54 +0000 Subject: [PATCH] docs: silent wrong Doxygen warning Silent the following warning (probably due to a Doxygen bug): bertos/cpu/arm/drv/eth_at91.c:89: warning: documented function `static uint8_t rx_buf' was not declared or defined. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4479 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/eth_at91.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bertos/cpu/arm/drv/eth_at91.c b/bertos/cpu/arm/drv/eth_at91.c index fbf3542b..d20d5795 100644 --- a/bertos/cpu/arm/drv/eth_at91.c +++ b/bertos/cpu/arm/drv/eth_at91.c @@ -71,6 +71,8 @@ */ uint8_t mac_addr[] = { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66 }; +/* Silent Doxygen bug... */ +#ifndef __doxygen__ static volatile BufDescriptor tx_buf_tab[EMAC_TX_DESCRIPTORS]; /* * NOTE: this buffer should be declared as 'volatile' because it is read by the @@ -88,6 +90,7 @@ static volatile BufDescriptor rx_buf_tab[EMAC_RX_DESCRIPTORS]; */ static uint8_t rx_buf[EMAC_RX_BUFFERS * EMAC_RX_BUFSIZ] ALIGNED(8); static int rx_buf_idx = 0; +#endif static Event recv_wait, send_wait; -- 2.25.1