summaryrefslogtreecommitdiff
path: root/quantum/serial_link/protocol/triple_buffered_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/serial_link/protocol/triple_buffered_object.h')
-rw-r--r--quantum/serial_link/protocol/triple_buffered_object.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/serial_link/protocol/triple_buffered_object.h b/quantum/serial_link/protocol/triple_buffered_object.h
index 6ec98d52bf..717d6d7b8b 100644
--- a/quantum/serial_link/protocol/triple_buffered_object.h
+++ b/quantum/serial_link/protocol/triple_buffered_object.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_TRIPLE_BUFFERED_OBJECT_H
-#define SERIAL_LINK_TRIPLE_BUFFERED_OBJECT_H
+#pragma once
#include <stdint.h>
@@ -43,5 +42,3 @@ void triple_buffer_init(triple_buffer_object_t* object);
void* triple_buffer_begin_write_internal(uint16_t object_size, triple_buffer_object_t* object);
void triple_buffer_end_write_internal(triple_buffer_object_t* object);
void* triple_buffer_read_internal(uint16_t object_size, triple_buffer_object_t* object);
-
-#endif