summaryrefslogtreecommitdiff
path: root/tmk_core/common/avr/timer_avr.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/avr/timer_avr.h')
-rw-r--r--tmk_core/common/avr/timer_avr.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tmk_core/common/avr/timer_avr.h b/tmk_core/common/avr/timer_avr.h
index 9aea21c651..c1b726bd01 100644
--- a/tmk_core/common/avr/timer_avr.h
+++ b/tmk_core/common/avr/timer_avr.h
@@ -15,8 +15,7 @@ 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 TIMER_AVR_H
-#define TIMER_AVR_H 1
+#pragma once
#include <stdint.h>
@@ -38,5 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if (TIMER_RAW_TOP > 255)
# error "Timer0 can't count 1ms at this clock freq. Use larger prescaler."
#endif
-
-#endif