Framework for reading and writing variables in real time on any MBED platform.
DistantIO
This is the C implementation of the DistantIO slave framework.
Library is working but slight API breaks may occur in the future. C++ version is also in development.
To get the master-side implementation, see https://github.com/Overdrivr/DistantIO
Diff: protocol.cpp
- Revision:
- 6:72d46dbdbe7a
- Parent:
- 1:aaffeb93f99b
diff -r e8936f38a338 -r 72d46dbdbe7a protocol.cpp --- a/protocol.cpp Wed Oct 14 09:42:32 2015 +0000 +++ b/protocol.cpp Fri Oct 16 16:16:19 2015 +0000 @@ -81,7 +81,7 @@ void decode(uint8_t received_byte) { - static uint8_t decodingBuffer[DECODING_BUFFER_SIZE]; + uint8_t decodingBuffer[DECODING_BUFFER_SIZE]; // If a reception was in process if(protocol_state == IN_PROCESS)