diff options
author | liamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-04-23 15:08:53 +0000 |
---|---|---|
committer | liamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-04-23 15:08:53 +0000 |
commit | 48ce328ea465ca2c1eb04c58609cfdbd4459d83d (patch) | |
tree | 8fd83dbf5a0c2848ac9c2718be10a536e102980d | |
parent | f843a37153bf8a35a4d45f43bd79a4540d595b65 (diff) | |
download | ChibiOS-48ce328ea465ca2c1eb04c58609cfdbd4459d83d.tar.gz ChibiOS-48ce328ea465ca2c1eb04c58609cfdbd4459d83d.tar.bz2 ChibiOS-48ce328ea465ca2c1eb04c58609cfdbd4459d83d.zip |
* fix copy/paste macro error in syscalls
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1884 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/various/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/syscalls.c b/os/various/syscalls.c index 0f0a14619..2abe6dfde 100644 --- a/os/various/syscalls.c +++ b/os/various/syscalls.c @@ -78,7 +78,7 @@ int _read_r(struct _reent *r, int file, char * ptr, int len) __errno_r(r) = EINVAL;
return -1;
}
- len = sdRead(&STDOUT_SD, (uint8_t *)ptr, (size_t)len);
+ len = sdRead(&STDIN_SD, (uint8_t *)ptr, (size_t)len);
return len;
#else
(void)file;
|