Print::write not on RBL

It seems like this functionality got removed in the RBL SDK.
Add condition for compiler target..
This commit is contained in:
Matt Sieren 2016-01-16 19:33:46 +01:00
parent 51cb078fa0
commit 9b829e28b4

2
SPP.h
View file

@ -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.