diff options
author | Purdea Andrei <[email protected]> | 2021-09-29 23:31:39 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-30 06:31:39 +1000 |
commit | b02a5396251c0fadb92f2632e242b555c238ad8b (patch) | |
tree | 4f01ce4de39773b3225180af56723351862c4aa8 /common_features.mk | |
parent | 552c126bea24b4f182caa62ada8c2213dc06de23 (diff) | |
download | qmk_firmware-b02a5396251c0fadb92f2632e242b555c238ad8b.tar.gz qmk_firmware-b02a5396251c0fadb92f2632e242b555c238ad8b.zip |
Added power tracking api (#12691)
* Add power tracking API to lufa and chibios targets
* power.c: Pass through power state to the notify function
* power: added notify_power_state_change_user too.
* making it pass the PR linter
* Add a POWER_STATE_NO_INIT state, that we start in before calling power_init();
* Rename *power* to *usb_power*
* removing stray newline
* Rename usb_power* to usb_device_state*
* Update quantum/usb_device_state.h
Co-authored-by: Drashna Jaelre <[email protected]>
* Fix comment
* usb_device_state.h: Don't include quantum.h, only the necessary headers.
Co-authored-by: Drashna Jaelre <[email protected]>
Diffstat (limited to 'common_features.mk')
-rw-r--r-- | common_features.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common_features.mk b/common_features.mk index 6193597174..a71bcace02 100644 --- a/common_features.mk +++ b/common_features.mk @@ -29,6 +29,7 @@ QUANTUM_SRC += \ $(QUANTUM_DIR)/keyboard.c \ $(QUANTUM_DIR)/keymap_common.c \ $(QUANTUM_DIR)/keycode_config.c \ + $(QUANTUM_DIR)/usb_device_state.c \ $(QUANTUM_DIR)/logging/debug.c \ $(QUANTUM_DIR)/logging/sendchar.c \ |