mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
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:
parent
51cb078fa0
commit
9b829e28b4
1 changed files with 2 additions and 0 deletions
2
SPP.h
2
SPP.h
|
@ -120,7 +120,9 @@ public:
|
||||||
*/
|
*/
|
||||||
size_t write(const uint8_t* data, size_t size);
|
size_t write(const uint8_t* data, size_t size);
|
||||||
/** Pull in write(const char *str) from Print */
|
/** Pull in write(const char *str) from Print */
|
||||||
|
#if !defined(RBL_NRF51822)
|
||||||
using Print::write;
|
using Print::write;
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
/**
|
/**
|
||||||
* Writes the byte to send to a buffer. The message is send when either send() or after Usb.Task() is called.
|
* Writes the byte to send to a buffer. The message is send when either send() or after Usb.Task() is called.
|
||||||
|
|
Loading…
Reference in a new issue