Minor cleanup
This commit is contained in:
		@@ -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"
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user