diff options
author | Priyadi Iman Nurcahyo <priyadi@users.noreply.github.com> | 2019-04-29 23:33:13 +0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-29 09:33:13 -0700 |
commit | 36e950a13fb0368a89c644fdfb28263326018cdd (patch) | |
tree | d8eea878068d63733675824d1e48435514d24146 /keyboards/handwired | |
parent | b23c3b0fd61c311b429fb1b3391248bf9df2e25d (diff) |
[Keymap] Added compatibility for Planck rev6 (#5706)
* Update code for compatibility with latest QMK
* Added compatibility with Planck rev6
* use wait_ms instead of _delay_ms
* removed unnecessary rules
* disable audio on rev4 only
Diffstat (limited to 'keyboards/handwired')
-rw-r--r-- | keyboards/handwired/promethium/keymaps/default/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/handwired/promethium/keymaps/priyadi/keymap.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/handwired/promethium/keymaps/default/keymap.c b/keyboards/handwired/promethium/keymaps/default/keymap.c index 179b411ee8..b09e30457c 100644 --- a/keyboards/handwired/promethium/keymaps/default/keymap.c +++ b/keyboards/handwired/promethium/keymaps/default/keymap.c @@ -1277,7 +1277,7 @@ void set_output_user(uint8_t output) { } void matrix_init_user() { - _delay_ms(500); // give time for usb to initialize + wait_ms(500); // give time for usb to initialize set_unicode_input_mode(UC_LNX); diff --git a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c index 179b411ee8..fbb1ae1d69 100644 --- a/keyboards/handwired/promethium/keymaps/priyadi/keymap.c +++ b/keyboards/handwired/promethium/keymaps/priyadi/keymap.c @@ -53,7 +53,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. } while (0) #endif #endif +#ifdef __AVR__ #include "outputselect.h" +#endif #include "led.h" #define COUNT(x) (sizeof (x) / sizeof (*(x))) @@ -1277,7 +1279,7 @@ void set_output_user(uint8_t output) { } void matrix_init_user() { - _delay_ms(500); // give time for usb to initialize + wait_ms(500); // give time for usb to initialize set_unicode_input_mode(UC_LNX); |