From 2579b5bbf5d83a4293d3ec9d712c612158a80a2a Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Wed, 4 Jun 2014 00:57:00 +0900 Subject: [PATCH] kimera: Fix bugs of keymap and mux driving --- keyboard/kimera/kimera.c | 18 ++++++++++-------- keyboard/kimera/kimera.h | 1 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/keyboard/kimera/kimera.c b/keyboard/kimera/kimera.c index edfaae14..7c0f4aca 100644 --- a/keyboard/kimera/kimera.c +++ b/keyboard/kimera/kimera.c @@ -136,10 +136,10 @@ void write_matrix_mapping(void) void shift_out_word(uint16_t data) { - SPDR = (data & 0xFF); - while (!(SPSR & (1<>8) & 0xFF); while (!(SPSR & (1<