summaryrefslogtreecommitdiff
path: root/hid/pico/src/ph_outputs.c
diff options
context:
space:
mode:
Diffstat (limited to 'hid/pico/src/ph_outputs.c')
-rw-r--r--hid/pico/src/ph_outputs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hid/pico/src/ph_outputs.c b/hid/pico/src/ph_outputs.c
index a1963f7d..4722a81c 100644
--- a/hid/pico/src/ph_outputs.c
+++ b/hid/pico/src/ph_outputs.c
@@ -58,6 +58,7 @@ void ph_outputs_init(void) {
INIT_SWITCH(_USB_SET_MOUSE_REL_PIN);
INIT_SWITCH(_USB_SET_MOUSE_W98_PIN);
# undef INIT_SWITCH
+ sleep_ms(10); // Нужен небольшой слип для активации pull-up
const bool o_ps2_enabled = !gpio_get(_PS2_ENABLED_PIN); // Note: all pins are pulled up!
const bool o_ps2_kbd = !gpio_get(_PS2_SET_KBD_PIN);