Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
c78dc85a1a
|
@ -48,6 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
//#define LED_SCROLL_LOCK_PIN B2
|
//#define LED_SCROLL_LOCK_PIN B2
|
||||||
//#define LED_COMPOSE_PIN B3
|
//#define LED_COMPOSE_PIN B3
|
||||||
//#define LED_KANA_PIN B4
|
//#define LED_KANA_PIN B4
|
||||||
|
#define LED_PIN_ON_STATE 0
|
||||||
|
|
||||||
//#define BACKLIGHT_PIN B7
|
//#define BACKLIGHT_PIN B7
|
||||||
//#define BACKLIGHT_LEVELS 3
|
//#define BACKLIGHT_LEVELS 3
|
||||||
|
|
|
@ -36,12 +36,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case LOGO_LED_ON:
|
case LOGO_LED_ON:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
writePinHigh(D7);
|
writePinLow(D7);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case LOGO_LED_OFF:
|
case LOGO_LED_OFF:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
writePinLow(D7);
|
writePinHigh(D7);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,12 +59,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case LOGO_LED_ON:
|
case LOGO_LED_ON:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
writePinHigh(D7);
|
writePinLow(D7);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case LOGO_LED_OFF:
|
case LOGO_LED_OFF:
|
||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
writePinLow(D7);
|
writePinHigh(D7);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue