mirror of https://github.com/ArduPilot/ardupilot
AP_Common: pre-declare print_vprintf
these seem to override a soft symbol somewhere, so can't be static or be removed or the tests fail
This commit is contained in:
parent
2e1f8d8b8b
commit
5333f404d3
|
@ -52,6 +52,7 @@ public:
|
||||||
bool discard_input() override { return false; }
|
bool discard_input() override { return false; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap);
|
||||||
void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap) {
|
void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap) {
|
||||||
BufferPrinter* p = static_cast<BufferPrinter*>(s);
|
BufferPrinter* p = static_cast<BufferPrinter*>(s);
|
||||||
if (count < 2) {
|
if (count < 2) {
|
||||||
|
|
|
@ -31,6 +31,7 @@ public:
|
||||||
bool discard_input() override { return false; }
|
bool discard_input() override { return false; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap);
|
||||||
void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap) {
|
void print_vprintf(AP_HAL::BetterStream *s, const char *fmt, va_list ap) {
|
||||||
BufferPrinter* p = static_cast<BufferPrinter*>(s);
|
BufferPrinter* p = static_cast<BufferPrinter*>(s);
|
||||||
count++;
|
count++;
|
||||||
|
|
Loading…
Reference in New Issue