* fix copy/paste macro error in syscalls
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1884 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
f843a37153
commit
48ce328ea4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue