]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/ADCTest/scan_loop.h
Code cleanup
[kiibohd-controller.git] / Scan / ADCTest / scan_loop.h
index e95b7076572f96a3b772d98fea6f5ad1ea299c13..3e35b5b2f1acabfba44d687c783f4efa41186c73 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014 by Jacob Alexander
+/* Copyright (C) 2014-2015 by Jacob Alexander
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -19,8 +19,7 @@
  * THE SOFTWARE.
  */
 
-#ifndef __SCAN_LOOP_H
-#define __SCAN_LOOP_H
+#pragma once
 
 // ----- Includes -----
 
@@ -33,7 +32,7 @@
 
 // ----- Defines -----
 
-#define KEYBOARD_KEYS 0x7F // 127 - Size of the array space for the keyboard(max index)
+#define KEYBOARD_KEYS 0x5  // 5 - Size of the array space for the keyboard(max index)
 #define KEYBOARD_BUFFER 24 // Max number of key signals to buffer
 
 
@@ -61,5 +60,3 @@ void Scan_finishedWithUSBBuffer( uint8_t sentKeys );
 
 void Scan_resetKeyboard();
 
-#endif // __SCAN_LOOP_H
-