diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-26 12:45:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-05-26 12:45:05 +0000 |
commit | a3c42414f1a88d9c15343488d2be574bfa143093 (patch) | |
tree | fe61bea3a8528efdc21487176a650797e3f9c69c /nuttx | |
parent | a935d77355394712f37839fca6b3a17f68d88003 (diff) | |
download | px4-nuttx-a3c42414f1a88d9c15343488d2be574bfa143093.tar.gz px4-nuttx-a3c42414f1a88d9c15343488d2be574bfa143093.tar.bz2 px4-nuttx-a3c42414f1a88d9c15343488d2be574bfa143093.zip |
Fix macro parameter problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2699 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/include/nuttx/mtd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/mtd.h b/nuttx/include/nuttx/mtd.h index 8577cefb1..c8e6f1fdc 100644 --- a/nuttx/include/nuttx/mtd.h +++ b/nuttx/include/nuttx/mtd.h @@ -54,7 +54,7 @@ #define MTD_ERASE(d,s,n) ((d)->erase ? (d)->erase(d,s,n) : (-ENOSYS)) #define MTD_BREAD(d,s,n,b) ((d)->bread ? (d)->bread(d,s,n,b) : (-ENOSYS)) -#define MTD_READ(d,a,n,b) ((d)->read ? (d)->read(d,s,n,b) : (-ENOSYS)) +#define MTD_READ(d,s,n,b) ((d)->read ? (d)->read(d,s,n,b) : (-ENOSYS)) #define MTD_BWRITE(d,s,n,b)((d)->bwrite ? (d)->bwrite(d,s,n,b) : (-ENOSYS)) #define MTD_IOCTL(d,c,a) ((d)->ioctl ? (d)->ioctl(d,c,a) : (-ENOSYS)) |