diff options
Diffstat (limited to 'software/rhmixxx')
-rw-r--r-- | software/rhmixxx/rhmixxx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/software/rhmixxx/rhmixxx.c b/software/rhmixxx/rhmixxx.c index c305462..6b22d21 100644 --- a/software/rhmixxx/rhmixxx.c +++ b/software/rhmixxx/rhmixxx.c @@ -80,17 +80,17 @@ void EVENT_USB_Device_ControlRequest(void) static FILE serial_stream;
-#define KEY_PIN PINF
-#define KEY_PORT PORTF
-#define KEY_DDR DDRF
+#define KEY_PIN PINA
+#define KEY_PORT PORTA
+#define KEY_DDR DDRA
#define KEY_BIT 0
#define KEY_LP_MAX 255
void key_init(void)
{
- KEY_DDR = KEY_DDR & ~(1<<KEY_BIT);
- KEY_PORT |= (1<<KEY_BIT);
+ KEY_DDR = 0xF0;
+ KEY_PORT = 0xEF;
}
int main(void)
|