summaryrefslogtreecommitdiff
path: root/quantum/api.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2020-12-26 04:53:57 +0000
committerQMK Bot <hello@qmk.fm>2020-12-26 04:53:57 +0000
commitffd7e44e5af660fbd131f67ef803ac3aad2123d6 (patch)
tree4a120e1afe711fabccb7d241efc67f5da8a50a89 /quantum/api.h
parent6c366ccf6a5f88598c115c81845d983eb363b172 (diff)
parent48f4768d33313e6a6ed48c31f95eb44feda10a51 (diff)
downloadqmk_firmware-ffd7e44e5af660fbd131f67ef803ac3aad2123d6.tar.gz
qmk_firmware-ffd7e44e5af660fbd131f67ef803ac3aad2123d6.zip
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum/api.h')
-rw-r--r--quantum/api.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/api.h b/quantum/api.h
index 90a4de8339..0a30e9d6cc 100644
--- a/quantum/api.h
+++ b/quantum/api.h
@@ -14,8 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _API_H_
-#define _API_H_
+#pragma once
#ifdef __AVR__
# include "lufa.h"
@@ -54,5 +53,3 @@ __attribute__((weak)) bool process_api_quantum(uint8_t length, uint8_t* data);
__attribute__((weak)) bool process_api_keyboard(uint8_t length, uint8_t* data);
__attribute__((weak)) bool process_api_user(uint8_t length, uint8_t* data);
-
-#endif