Skip to content

Commit eed7554

Browse files
committed
ver 1.0.2
1 parent 545007f commit eed7554

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"url": "https://github.com/eigen-value",
1212
"maintainer": true
1313
},
14-
"version": "0.1.1",
14+
"version": "0.1.2",
1515
"license": "MIT",
1616
"frameworks": "arduino",
1717
"platforms": "*",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Arduino_RPClite
2-
version=0.1.1
2+
version=0.1.2
33
author=Lucio Rossi (eigen-value)
44
maintainer=Lucio Rossi (eigen-value)
55
sentence=A MessagePack RPC library for Arduino

src/client.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class RPCClient {
3737

3838
// blocking call
3939
while (!get_response(result)){
40-
//delay(1);
4140
}
4241

4342
return (lastError.code == NO_ERR);

src/server.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ class RPCServer {
3535
get_rpc();
3636
process_request();
3737
send_response();
38-
//delay(1);
3938
}
4039

4140
bool get_rpc() {
4241
decoder->decode();
4342
if (_rpc_size > 0) return true; // Already have a request
44-
// TODO USE A QUEUE
4543
_rpc_size = decoder->get_request(_rpc_buffer, RPC_BUFFER_SIZE);
4644
return _rpc_size > 0;
4745
}

0 commit comments

Comments
 (0)