summaryrefslogtreecommitdiff
path: root/quantum/serial_link/protocol/frame_validator.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/serial_link/protocol/frame_validator.h')
-rw-r--r--quantum/serial_link/protocol/frame_validator.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/serial_link/protocol/frame_validator.h b/quantum/serial_link/protocol/frame_validator.h
index 4a910d510b..0f78768a00 100644
--- a/quantum/serial_link/protocol/frame_validator.h
+++ b/quantum/serial_link/protocol/frame_validator.h
@@ -22,13 +22,10 @@ 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
+#pragma once
#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