diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-25 16:14:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-25 16:14:34 +0000 |
commit | b32e78903d8f4b7195822c6f7e2b38052b443840 (patch) | |
tree | 4c8821d05722b8c14c0f932c8458ae0d3f8f87bc | |
parent | 17a9b44ac47bf46384060e2c2004f57f3fc4273f (diff) | |
download | ChibiOS-b32e78903d8f4b7195822c6f7e2b38052b443840.tar.gz ChibiOS-b32e78903d8f4b7195822c6f7e2b38052b443840.tar.bz2 ChibiOS-b32e78903d8f4b7195822c6f7e2b38052b443840.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1184 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/io/platforms/AT91SAM7X/sam7x_emac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/io/platforms/AT91SAM7X/sam7x_emac.c b/os/io/platforms/AT91SAM7X/sam7x_emac.c index d265330d8..bf7770de8 100644 --- a/os/io/platforms/AT91SAM7X/sam7x_emac.c +++ b/os/io/platforms/AT91SAM7X/sam7x_emac.c @@ -304,7 +304,7 @@ BufDescriptorEntry *EMACGetTransmitBuffer(void) { if (!(cptr->w2 & W2_T_USED) ||
(cptr->w2 & W2_T_LOCKED)) {
chSysUnlock();
- return FALSE;
+ return NULL;
}
cptr->w2 |= W2_T_LOCKED; /* Locks the buffer while copying.*/
if (++txptr >= &tent[EMAC_TRANSMIT_BUFFERS])
|