summaryrefslogtreecommitdiff
path: root/app/include
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-10-04 18:18:44 -0400
committerPete Johanson <peter@peterjohanson.com>2020-10-04 21:56:09 -0400
commitbbf5a5905a973d6d23457d2e7bf15bf6bac234c3 (patch)
tree93dcaaf0c3ccde9e0c6d3e8d192bc7e8ed0e32eb /app/include
parente6d9134005588adc0d6326c7b8132b7832719990 (diff)
refactor(usb): Report USB status w/o HID output.
Diffstat (limited to 'app/include')
-rw-r--r--app/include/zmk/usb.h (renamed from app/include/zmk/usb_hid.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/include/zmk/usb_hid.h b/app/include/zmk/usb.h
index 83a4540..452fd54 100644
--- a/app/include/zmk/usb_hid.h
+++ b/app/include/zmk/usb.h
@@ -12,8 +12,8 @@
#include <zmk/keys.h>
#include <zmk/hid.h>
-int zmk_usb_hid_init();
-
-enum usb_dc_status_code zmk_usb_hid_get_status();
+enum usb_dc_status_code zmk_usb_get_status();
+#ifdef CONFIG_ZMK_USB
int zmk_usb_hid_send_report(u8_t *report, size_t len);
+#endif /* CONFIG_ZMK_USB */ \ No newline at end of file