From 48ce328ea465ca2c1eb04c58609cfdbd4459d83d Mon Sep 17 00:00:00 2001 From: liamstask Date: Fri, 23 Apr 2010 15:08:53 +0000 Subject: * 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 --- os/various/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') 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; -- cgit v1.2.3