Fix ::printf_P to transmit to the correct interface. Fixes the XBee test.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@685 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
DrZiplok 2010-10-18 04:40:33 +00:00
parent 502b6ee0f7
commit 84697f4111

View File

@ -305,7 +305,7 @@ FastSerial::printf_P(const char *fmt, ...)
int i;
va_start(ap, fmt);
i = vfprintf_P(stdout, fmt, ap);
i = vfprintf_P(&_fd, fmt, ap);
va_end(ap);
return(i);