summaryrefslogtreecommitdiffstats
path: root/quantum/serial_link/protocol/transport.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-26 15:53:12 +1100
committerGitHub <noreply@github.com>2020-12-26 15:53:12 +1100
commit48f4768d33313e6a6ed48c31f95eb44feda10a51 (patch)
tree49944f8e0399fc661b9adbf7d8c0962995634579 /quantum/serial_link/protocol/transport.h
parent53eb7f0774881e8a9f6186a51e15135edc6f8575 (diff)
Change include guards in quantum/ to pragma once (#11239)
Diffstat (limited to 'quantum/serial_link/protocol/transport.h')
-rw-r--r--quantum/serial_link/protocol/transport.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/serial_link/protocol/transport.h b/quantum/serial_link/protocol/transport.h
index 309a56b000..3ce0c9fe4e 100644
--- a/quantum/serial_link/protocol/transport.h
+++ b/quantum/serial_link/protocol/transport.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_TRANSPORT_H
-#define SERIAL_LINK_TRANSPORT_H
+#pragma once
#include "serial_link/protocol/triple_buffered_object.h"
#include "serial_link/system/serial_link.h"
@@ -138,5 +137,3 @@ void add_remote_objects(remote_object_t** remote_objects, uint32_t num_remote_ob
void reinitialize_serial_link_transport(void);
void transport_recv_frame(uint8_t from, uint8_t* data, uint16_t size);
void update_transport(void);
-
-#endif