]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Minor cleanup
authorNikolaus Wittenstein <nikolaus.wittenstein@gmail.com>
Mon, 6 Feb 2017 00:55:08 +0000 (19:55 -0500)
committerNikolaus Wittenstein <nikolaus.wittenstein@gmail.com>
Mon, 6 Feb 2017 00:55:27 +0000 (19:55 -0500)
tmk_core/common/keyboard.c
tmk_core/common/matrix.h
tmk_core/common/report.h

index 7653507928bcc57d0cebed49015f8f86275182bc..3aa82231b0801090efc2989628e9022c81ac6d0a 100644 (file)
@@ -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"
index cee3593eee4e656504fe82abea111165b40f1517..2543f5abce79af9cb7f8eef8ac99096a401fd030 100644 (file)
@@ -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);
index 0c799eca39af5581cb22912f24ea749524afc11a..8fb28b6ce350b47faf9a5199eddae6a217565686 100644 (file)
@@ -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;