TransferReceiver tests fixed, 17 to go

This commit is contained in:
Pavel Kirienko
2015-07-03 02:41:27 +03:00
parent 19cd458ae6
commit c56458c73d
4 changed files with 83 additions and 78 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ public:
* Max payload length depends on the transfer type and frame index.
*/
uint8_t getPayloadCapacity() const { return PayloadCapacity; }
int setPayload(const uint8_t* data, unsigned len);
uint8_t setPayload(const uint8_t* data, unsigned len);
unsigned getPayloadLen() const { return payload_len_; }
const uint8_t* getPayloadPtr() const { return payload_; }