aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/serial.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-08-19 22:46:15 +1000
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-08-29 14:30:02 -0700
commit3f392c09b60d46d9e4a4d3cc150a26294dea4da7 (patch)
tree87fe710bbfd25890a106ea54b33e2b86fce02075 /tmk_core/protocol/serial.h
parent47f8947bf5aa3ff1cbb484a2d6dc3fa818987700 (diff)
downloadfirmware-3f392c09b60d46d9e4a4d3cc150a26294dea4da7.tar.gz
firmware-3f392c09b60d46d9e4a4d3cc150a26294dea4da7.tar.bz2
firmware-3f392c09b60d46d9e4a4d3cc150a26294dea4da7.zip
More Bluetooth refactoring (#9905)
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