diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-02-21 23:17:59 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-02-21 23:17:59 +0200 |
commit | 6873b17117a41715c9a8ca63060974b64b4cdcf4 (patch) | |
tree | 74ed87abb4b19ec1922e98798ab35dc32b61110a /serial_link/protocol/frame_validator.h | |
parent | 8cbfe79dd9ce2e8113a0f99e15d6ae4d3176b545 (diff) |
Support for Chibios compilation
Remove some warnings, change the include paths.
Diffstat (limited to 'serial_link/protocol/frame_validator.h')
-rw-r--r-- | serial_link/protocol/frame_validator.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/serial_link/protocol/frame_validator.h b/serial_link/protocol/frame_validator.h index c35fc27260..4a910d510b 100644 --- a/serial_link/protocol/frame_validator.h +++ b/serial_link/protocol/frame_validator.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_FRAME_VALIDATOR_H +#define SERIAL_LINK_FRAME_VALIDATOR_H + +#include <stdint.h> + void validator_recv_frame(uint8_t link, uint8_t* data, uint16_t size); // The buffer pointed to by the data needs 4 additional bytes void validator_send_frame(uint8_t link, uint8_t* data, uint16_t size); + +#endif |