fix(usb): Split HID from core USB, logging fix.

* Split core USB init from USB HID init.
* Tweak logging to avoid "log loop" causing
  spurious buffer messages on startup.
This commit is contained in:
Peter Johanson
2022-04-13 03:20:35 +00:00
committed by Pete Johanson
parent 789fd03f8b
commit 40cd8da743
7 changed files with 82 additions and 53 deletions

View File

@@ -11,7 +11,7 @@
#include <zmk/endpoints.h>
#include <zmk/hid.h>
#include <dt-bindings/zmk/hid_usage_pages.h>
#include <zmk/usb.h>
#include <zmk/usb_hid.h>
#include <zmk/hog.h>
#include <zmk/event_manager.h>
#include <zmk/events/ble_active_profile_changed.h>