summaryrefslogtreecommitdiff
path: root/tmk_core/common/action_tapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/action_tapping.h')
-rw-r--r--tmk_core/common/action_tapping.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tmk_core/common/action_tapping.h b/tmk_core/common/action_tapping.h
index 7015ce7612..087090f805 100644
--- a/tmk_core/common/action_tapping.h
+++ b/tmk_core/common/action_tapping.h
@@ -14,8 +14,8 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef ACTION_TAPPING_H
-#define ACTION_TAPPING_H
+
+#pragma once
/* period of tapping(ms) */
#ifndef TAPPING_TERM
@@ -36,5 +36,3 @@ uint16_t get_event_keycode(keyevent_t event, bool update_layer_cache);
uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record);
void action_tapping_process(keyrecord_t record);
#endif
-
-#endif