aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/serial.h')
-rw-r--r--tmk_core/protocol/serial.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tmk_core/protocol/serial.h b/tmk_core/protocol/serial.h
index 93ac99898..b70d117d7 100644
--- a/tmk_core/protocol/serial.h
+++ b/tmk_core/protocol/serial.h
@@ -35,13 +35,10 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SERIAL_H
-#define SERIAL_H
+#pragma once
/* host role */
void serial_init(void);
uint8_t serial_recv(void);
int16_t serial_recv2(void);
void serial_send(uint8_t data);
-
-#endif