X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Feth_at91.c;h=d20d57952c616fedbd990a9acec307bce0074e34;hb=9cb8aabd5d89b030d527f1c8da1676ec9dbb805c;hp=fbf3542b1eb35a99f65e1d727975dadb46103592;hpb=540b160dbedfdb12ce29f9b107be860ba22cd6cb;p=bertos.git 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;