[Keyboard] Fix mechlovin/kay65 (#16653)

This commit is contained in:
jack 2022-03-14 22:00:57 -06:00 committed by GitHub
parent 5e5047f071
commit 36ddb567cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 9 additions and 9 deletions

View file

@ -15,11 +15,11 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "rev1.h" #include "kay65.h"
void keyboard_pre_init_user(void) { void keyboard_pre_init_user(void) {
// Call the keyboard pre init code. // Call the keyboard pre init code.
// Set our LED pins as output // Set our LED pins as output
setPinOutput(D7); setPinOutput(D7);
} }

View file

@ -18,8 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include QMK_KEYBOARD_H #include QMK_KEYBOARD_H
enum my_keycodes { enum my_keycodes {
LOGO_LED_ON = USER00, LOGO_LED_ON = SAFE_RANGE,
LOGO_LED_OFF = USER01 LOGO_LED_OFF
}; };
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@ -47,6 +47,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
} }
break; break;
} }
return true; return true;
}; };

View file

@ -68,5 +68,5 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
} }
break; break;
} }
return true; return true;
}; };

View file

@ -10,11 +10,11 @@ A 65% PCB with centered USB, RGB underglow and top right LED.
Make example for this keyboard (after setting up your build environment): Make example for this keyboard (after setting up your build environment):
make mechlovin/kay65/rev1:default make mechlovin/kay65:default
Flashing example for this keyboard: Flashing example for this keyboard:
make mechlovin/kay65/rev1:default:flash make mechlovin/kay65:default:flash
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).