summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/keymaps/win10_writers-block/keymap.c
diff options
context:
space:
mode:
authorh-parks <harrison.m.parks@gmail.com>2016-10-19 09:33:37 -0500
committerGitHub <noreply@github.com>2016-10-19 09:33:37 -0500
commitf2197611c7d57f01b95d268e919221f87407a4df (patch)
tree4dab88d725fc6d234f35644b6e06b909287cb9a6 /keyboards/ergodox/keymaps/win10_writers-block/keymap.c
parent1688c014ccc89fc46538c7b9f80cb09126904a4f (diff)
Win10 Writer's Block - An ErgoDox Keymap
fix for compiling on infinity: replaced `_delay_ms()' with `wait_ms()' included "wait.h"
Diffstat (limited to 'keyboards/ergodox/keymaps/win10_writers-block/keymap.c')
-rw-r--r--keyboards/ergodox/keymaps/win10_writers-block/keymap.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/keyboards/ergodox/keymaps/win10_writers-block/keymap.c b/keyboards/ergodox/keymaps/win10_writers-block/keymap.c
index 1821147ebb..ea640ee96f 100644
--- a/keyboards/ergodox/keymaps/win10_writers-block/keymap.c
+++ b/keyboards/ergodox/keymaps/win10_writers-block/keymap.c
@@ -2,6 +2,7 @@
#include "debug.h"
#include "action_layer.h"
#include "version.h"
+#include "wait.h"
#define BASE 0 // default layer - helpful for writing in Office-style word processors.
#define SYMB 1 // symbol layer - NumPad, etc. - same as Ergodox EZ default but no EEPROM or Version key
@@ -276,21 +277,21 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
// Tests LED function when the keyboard initializes.
void matrix_init_user(void) {
- _delay_ms(500);
+ wait_ms(500);
ergodox_board_led_on();
- _delay_ms(200);
+ wait_ms(200);
ergodox_right_led_1_on();
- _delay_ms(200);
+ wait_ms(200);
ergodox_right_led_2_on();
- _delay_ms(200);
+ wait_ms(200);
ergodox_right_led_3_on();
- _delay_ms(200);
+ wait_ms(200);
ergodox_board_led_off();
- _delay_ms(200);
+ wait_ms(200);
ergodox_right_led_1_off();
- _delay_ms(200);
+ wait_ms(200);
ergodox_right_led_2_off();
- _delay_ms(200);
+ wait_ms(200);
ergodox_right_led_3_off();
};