summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/ps2.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/ps2.h')
-rw-r--r--tmk_core/protocol/ps2.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/tmk_core/protocol/ps2.h b/tmk_core/protocol/ps2.h
index e32cc9603f..f123192852 100644
--- a/tmk_core/protocol/ps2.h
+++ b/tmk_core/protocol/ps2.h
@@ -35,8 +35,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PS2_H
-#define PS2_H
+#pragma once
#include <stdbool.h>
#include "wait.h"
@@ -138,5 +137,3 @@ static inline void inhibit(void) {
clock_lo();
data_hi();
}
-
-#endif