1
0
Fork 0

[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
This commit is contained in:
Priyadi Iman Nurcahyo 2019-04-29 23:33:13 +07:00 committed by Drashna Jaelre
parent b23c3b0fd6
commit 36e950a13f
4 changed files with 34 additions and 5 deletions

View file

@ -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);