diff options
| author | tmk <nobody@nowhere> | 2014-04-25 15:25:21 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2014-04-25 15:26:11 +0900 |
| commit | 62117e7ea77bf036e4e08bb02d682311e3c3d401 (patch) | |
| tree | a7708048a9c56a448efeecb5e5e8f3f145fdecc3 | |
| parent | 2db27ecedd92f79b96b5e4db3d8d0fd4822d2de0 (diff) | |
| download | qmk_firmware-62117e7ea77bf036e4e08bb02d682311e3c3d401.tar.gz qmk_firmware-62117e7ea77bf036e4e08bb02d682311e3c3d401.zip | |
Change MCU setting to ATmega32U2
| -rw-r--r-- | converter/sun_usb/Makefile | 3 | ||||
| -rw-r--r-- | converter/sun_usb/matrix.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/converter/sun_usb/Makefile b/converter/sun_usb/Makefile index 73a83e93f..35c4bb123 100644 --- a/converter/sun_usb/Makefile +++ b/converter/sun_usb/Makefile | |||
| @@ -20,9 +20,10 @@ CONFIG_H = config.h | |||
| 20 | # MCU name, you MUST set this to match the board you are using | 20 | # MCU name, you MUST set this to match the board you are using |
| 21 | # type "make clean" after changing this, so all files will be rebuilt | 21 | # type "make clean" after changing this, so all files will be rebuilt |
| 22 | #MCU = at90usb162 # Teensy 1.0 | 22 | #MCU = at90usb162 # Teensy 1.0 |
| 23 | MCU = atmega32u4 # Teensy 2.0 | 23 | #MCU = atmega32u4 # Teensy 2.0 |
| 24 | #MCU = at90usb646 # Teensy++ 1.0 | 24 | #MCU = at90usb646 # Teensy++ 1.0 |
| 25 | #MCU = at90usb1286 # Teensy++ 2.0 | 25 | #MCU = at90usb1286 # Teensy++ 2.0 |
| 26 | MCU = atmega32u2 | ||
| 26 | 27 | ||
| 27 | 28 | ||
| 28 | # Processor frequency. | 29 | # Processor frequency. |
diff --git a/converter/sun_usb/matrix.c b/converter/sun_usb/matrix.c index a61e3a2d3..988622bc3 100644 --- a/converter/sun_usb/matrix.c +++ b/converter/sun_usb/matrix.c | |||
| @@ -63,6 +63,8 @@ uint8_t matrix_cols(void) | |||
| 63 | 63 | ||
| 64 | void matrix_init(void) | 64 | void matrix_init(void) |
| 65 | { | 65 | { |
| 66 | DDRD |= (1<<6); | ||
| 67 | PORTD |= (1<<6); | ||
| 66 | debug_enable = true; | 68 | debug_enable = true; |
| 67 | 69 | ||
| 68 | serial_init(); | 70 | serial_init(); |
