summaryrefslogtreecommitdiff
path: root/keyboards/handwired/promethium/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/promethium/keymaps')
-rw-r--r--keyboards/handwired/promethium/keymaps/default/keymap.c2
-rw-r--r--keyboards/handwired/promethium/keymaps/priyadi/keymap.c4
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);