summaryrefslogtreecommitdiff
path: root/keyboards/nek_type_a/mcp23017.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nek_type_a/mcp23017.h')
-rw-r--r--keyboards/nek_type_a/mcp23017.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/nek_type_a/mcp23017.h b/keyboards/nek_type_a/mcp23017.h
index 41c747beab..df1a305571 100644
--- a/keyboards/nek_type_a/mcp23017.h
+++ b/keyboards/nek_type_a/mcp23017.h
@@ -13,8 +13,8 @@
* 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 MAP23017_H
-#define MAP23017_H
+
+#pragma once
#define EXPANDER_ADDR 0x27
#define I2C_TIMEOUT 200 // milliseconds
@@ -67,5 +67,3 @@ void expander_init(void);
void expander_select(uint8_t pin);
void expander_unselect(uint8_t pin);
void expander_unselect_all(void);
-
-#endif \ No newline at end of file