aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <wakojun@gmail.com>2013-07-07 22:24:20 -0700
committertmk <wakojun@gmail.com>2013-07-07 22:24:20 -0700
commit292dbd51cc6967d1b98f29b29580f96535ae3ec7 (patch)
tree14d12331b52dcafdf041eb4a03af4e9c796d6748
parent8848d0188fe17c184fa968ac011b855a836f2df1 (diff)
parenteef6aa58b752649985cd580c87437bf46805e302 (diff)
downloadqmk_firmware-292dbd51cc6967d1b98f29b29580f96535ae3ec7.tar.gz
qmk_firmware-292dbd51cc6967d1b98f29b29580f96535ae3ec7.zip
Merge pull request #44 from Wraul/phantom_fix
Correcting Phantom mistakes
-rw-r--r--keyboard/phantom/README.md1
-rw-r--r--keyboard/phantom/led.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/keyboard/phantom/README.md b/keyboard/phantom/README.md
index d859a6f9a..8344e160b 100644
--- a/keyboard/phantom/README.md
+++ b/keyboard/phantom/README.md
@@ -48,6 +48,7 @@ Each layout have their own keymap file.
48*Note that only the ANSI keymap is tested on actual hardware.* 48*Note that only the ANSI keymap is tested on actual hardware.*
49 49
50To customize a keymap: 50To customize a keymap:
51
511. Edit the file that corresponds to your layout. 521. Edit the file that corresponds to your layout.
522. Specify your layout when building. 532. Specify your layout when building.
53 54
diff --git a/keyboard/phantom/led.c b/keyboard/phantom/led.c
index f4e9108f0..41582b6aa 100644
--- a/keyboard/phantom/led.c
+++ b/keyboard/phantom/led.c
@@ -37,7 +37,7 @@ void led_set(uint8_t usb_led)
37 if (usb_led & (1<<USB_LED_SCROLL_LOCK)) 37 if (usb_led & (1<<USB_LED_SCROLL_LOCK))
38 { 38 {
39 // Output high. 39 // Output high.
40 DDRB &= ~(1<<7); 40 DDRB |= (1<<7);
41 PORTB |= (1<<7); 41 PORTB |= (1<<7);
42 } 42 }
43 else 43 else