This commit is contained in:
workinghard
2015-06-30 11:51:14 -07:00
parent fbb31df518
commit e1224d2b44
5 changed files with 2 additions and 2 deletions

View File

@@ -228,7 +228,7 @@ void CubeNetwork::sendBytes(const unsigned char* byteBuffer, unsigned int byteLe
// let arduino knows what to expect
msgStartWrite(byteLength);
char myBuffer[4];
int ret = stream->receive(myBuffer,4);
long ret = stream->receive(myBuffer,4);
printf("received Length:\n");
printf("0: %u\n", myBuffer[0]);
printf("1: %u\n", myBuffer[1]);

View File

@@ -6,7 +6,7 @@
------------------------------------------
Copyright © 2013 [Vic Hargrave - http://vichargrave.com]
Copyright <EFBFBD> 2013 [Vic Hargrave - http://vichargrave.com]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.