onekey: fix quine keymap (#18555)

This commit is contained in:
Ryan 2022-10-01 12:54:42 +10:00 committed by GitHub
parent 2b33d2c098
commit 9f0d9b4fbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#include <quantum.h>
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { LAYOUT_ortho_1x1(KC_A) };
const char *buf[30] = {
"#include <quantum.h>",
"#include QMK_KEYBOARD_H",
"const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { LAYOUT_ortho_1x1(KC_A) };",
"const char *buf[30] = {",
"",
@ -57,4 +57,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return true;
};