Browse Source

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
mission-4.1.18
DrZiplok 15 years ago
parent
commit
84697f4111
  1. 2
      libraries/FastSerial/FastSerial.cpp

2
libraries/FastSerial/FastSerial.cpp

@ -305,7 +305,7 @@ FastSerial::printf_P(const char *fmt, ...) @@ -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);

Loading…
Cancel
Save