diff options
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 c35fc2726..4a910d510 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 | |||
| 22 | SOFTWARE. | 22 | SOFTWARE. |
| 23 | */ | 23 | */ |
| 24 | 24 | ||
| 25 | #ifndef SERIAL_LINK_FRAME_VALIDATOR_H | ||
| 26 | #define SERIAL_LINK_FRAME_VALIDATOR_H | ||
| 27 | |||
| 28 | #include <stdint.h> | ||
| 29 | |||
| 25 | void validator_recv_frame(uint8_t link, uint8_t* data, uint16_t size); | 30 | void validator_recv_frame(uint8_t link, uint8_t* data, uint16_t size); |
| 26 | // The buffer pointed to by the data needs 4 additional bytes | 31 | // The buffer pointed to by the data needs 4 additional bytes |
| 27 | void validator_send_frame(uint8_t link, uint8_t* data, uint16_t size); | 32 | void validator_send_frame(uint8_t link, uint8_t* data, uint16_t size); |
| 33 | |||
| 34 | #endif | ||
