Fix the name of the numlock key

pull/365/head
Jesse Vincent 8 years ago
parent 2fbeb322d8
commit ca71ff2c75
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -32,7 +32,7 @@ NumLock_::update (void) {
for (uint8_t c = 0; c < COLS; c++) { for (uint8_t c = 0; c < COLS; c++) {
Key k = Layer.lookup (r, c); Key k = Layer.lookup (r, c);
if (k.raw < Key_NumLock.raw || k.raw > Key_KeypadDot.raw) if (k.raw < Key_KeypadNumLock.raw || k.raw > Key_KeypadDot.raw)
continue; continue;
LEDControl.led_set_crgb_at(r, c, numpad_color); LEDControl.led_set_crgb_at(r, c, numpad_color);
@ -62,7 +62,7 @@ NumLock_::toggle (byte row_, byte col_, uint8_t numPadLayer) {
Layer.on (numPadLayer); Layer.on (numPadLayer);
} }
return MACRO(T(NumLock), END); return MACRO(T(KeypadNumLock), END);
} }
NumLock_ NumLock; NumLock_ NumLock;

Loading…
Cancel
Save