summaryrefslogtreecommitdiff
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)
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 d859a6f9a7..8344e160ba 100644
--- a/keyboard/phantom/README.md
+++ b/keyboard/phantom/README.md
@@ -48,6 +48,7 @@ Each layout have their own keymap file.
*Note that only the ANSI keymap is tested on actual hardware.*
To customize a keymap:
+
1. Edit the file that corresponds to your layout.
2. Specify your layout when building.
diff --git a/keyboard/phantom/led.c b/keyboard/phantom/led.c
index f4e9108f06..41582b6aaf 100644
--- a/keyboard/phantom/led.c
+++ b/keyboard/phantom/led.c
@@ -37,7 +37,7 @@ void led_set(uint8_t usb_led)
if (usb_led & (1<<USB_LED_SCROLL_LOCK))
{
// Output high.
- DDRB &= ~(1<<7);
+ DDRB |= (1<<7);
PORTB |= (1<<7);
}
else