diff --git a/firmware/asdf/src/main.c b/firmware/asdf/src/main.c index 4369e9e..e19ce27 100644 --- a/firmware/asdf/src/main.c +++ b/firmware/asdf/src/main.c @@ -72,10 +72,9 @@ int main(void) asdf_keycode_t code = asdf_next_code(); if (code != ASDF_INVALID_CODE) { - asdf_arch_send_code(code); - // void (*output_function)(asdf_keycode_t) = - // (void (*)(asdf_keycode_t)) asdf_hook_get(ASDF_HOOK_OUTPUT); - //(*output_function)(code); + void (*output_function)(asdf_keycode_t) = + (void (*)(asdf_keycode_t)) asdf_hook_get(ASDF_HOOK_OUTPUT); + (*output_function)(code); } asdf_keyscan(); }