* 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
master
liamstask 2010-04-23 15:08:53 +00:00
parent f843a37153
commit 48ce328ea4
1 changed files with 1 additions and 1 deletions

View File

@ -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;