Bläddra i källkod

Minor cleanup

Nikolaus Wittenstein 8 år sedan
förälder
incheckning
06d21009b2
3 ändrade filer med 2 tillägg och 8 borttagningar
  1. 1 0
      tmk_core/common/keyboard.c
  2. 1 1
      tmk_core/common/matrix.h
  3. 0 7
      tmk_core/common/report.h

+ 1 - 0
tmk_core/common/keyboard.c

@@ -14,6 +14,7 @@ GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
+
 #include <stdint.h>
 #include "keyboard.h"
 #include "matrix.h"

+ 1 - 1
tmk_core/common/matrix.h

@@ -50,7 +50,7 @@ void matrix_init(void);
 uint8_t matrix_scan(void);
 /* whether modified from previous scan. used after matrix_scan. */
 bool matrix_is_modified(void) __attribute__ ((deprecated));
-/* whether a swtich is on */
+/* whether a switch is on */
 bool matrix_is_on(uint8_t row, uint8_t col);
 /* matrix state on row */
 matrix_row_t matrix_get_row(uint8_t row);

+ 0 - 7
tmk_core/common/report.h

@@ -134,13 +134,6 @@ typedef union {
     } nkro;
 #endif
 } __attribute__ ((packed)) report_keyboard_t;
-/*
-typedef struct {
-    uint8_t mods;
-    uint8_t reserved;
-    uint8_t keys[REPORT_KEYS];
-} __attribute__ ((packed)) report_keyboard_t;
-*/
 
 typedef struct {
     uint8_t buttons;