summaryrefslogtreecommitdiff
path: root/keyboards/hhkb/rn42/battery.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hhkb/rn42/battery.h')
-rw-r--r--keyboards/hhkb/rn42/battery.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/keyboards/hhkb/rn42/battery.h b/keyboards/hhkb/rn42/battery.h
index 180d4dcfaa..c7f96d09a3 100644
--- a/keyboards/hhkb/rn42/battery.h
+++ b/keyboards/hhkb/rn42/battery.h
@@ -1,5 +1,4 @@
-#ifndef POWER_H
-#define POWER_H
+#pragma once
#include <stdint.h>
#include <stdbool.h>
@@ -31,5 +30,3 @@ battery_status_t battery_status(void);
// ADC offset:16, resolution:5mV
#define BATTERY_ADC_OFFSET 16
#define BATTERY_ADC_RESOLUTION 5
-
-#endif