summaryrefslogtreecommitdiff
path: root/serial_link/protocol/byte_stuffer.h
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-02-21 23:17:59 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-02-21 23:17:59 +0200
commit6873b17117a41715c9a8ca63060974b64b4cdcf4 (patch)
tree74ed87abb4b19ec1922e98798ab35dc32b61110a /serial_link/protocol/byte_stuffer.h
parent8cbfe79dd9ce2e8113a0f99e15d6ae4d3176b545 (diff)
Support for Chibios compilation
Remove some warnings, change the include paths.
Diffstat (limited to 'serial_link/protocol/byte_stuffer.h')
-rw-r--r--serial_link/protocol/byte_stuffer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/serial_link/protocol/byte_stuffer.h b/serial_link/protocol/byte_stuffer.h
index 839a876fe8..2cc88beb42 100644
--- a/serial_link/protocol/byte_stuffer.h
+++ b/serial_link/protocol/byte_stuffer.h
@@ -22,6 +22,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
+#ifndef SERIAL_LINK_BYTE_STUFFER_H
+#define SERIAL_LINK_BYTE_STUFFER_H
+
+#include <stdint.h>
+
void init_byte_stuffer(void);
void byte_stuffer_recv_byte(uint8_t link, uint8_t data);
void byte_stuffer_send_frame(uint8_t link, uint8_t* data, uint16_t size);
+
+#endif