summaryrefslogtreecommitdiffstats
path: root/quantum/serial_link/protocol/frame_router.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/serial_link/protocol/frame_router.h')
-rw-r--r--quantum/serial_link/protocol/frame_router.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/serial_link/protocol/frame_router.h b/quantum/serial_link/protocol/frame_router.h
index 712250ff35..9325fe4eed 100644
--- a/quantum/serial_link/protocol/frame_router.h
+++ b/quantum/serial_link/protocol/frame_router.h
@@ -22,8 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
-#ifndef SERIAL_LINK_FRAME_ROUTER_H
-#define SERIAL_LINK_FRAME_ROUTER_H
+#pragma once
#include <stdint.h>
#include <stdbool.h>
@@ -34,5 +33,3 @@ SOFTWARE.
void router_set_master(bool master);
void route_incoming_frame(uint8_t link, uint8_t* data, uint16_t size);
void router_send_frame(uint8_t destination, uint8_t* data, uint16_t size);
-
-#endif