From 9b829e28b49ebe2c772b72793ce78f3cc18aed7f Mon Sep 17 00:00:00 2001 From: Matt Sieren Date: Sat, 16 Jan 2016 19:33:46 +0100 Subject: [PATCH] Print::write not on RBL It seems like this functionality got removed in the RBL SDK. Add condition for compiler target.. --- SPP.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SPP.h b/SPP.h index 233ac611..bb3027b4 100644 --- a/SPP.h +++ b/SPP.h @@ -120,7 +120,9 @@ public: */ size_t write(const uint8_t* data, size_t size); /** Pull in write(const char *str) from Print */ +#if !defined(RBL_NRF51822) using Print::write; +#endif #else /** * Writes the byte to send to a buffer. The message is send when either send() or after Usb.Task() is called.