diff options
author | Purdea Andrei <andrei@purdea.ro> | 2021-09-29 23:31:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 06:31:39 +1000 |
commit | b02a5396251c0fadb92f2632e242b555c238ad8b (patch) | |
tree | 4f01ce4de39773b3225180af56723351862c4aa8 /keyboards/dc01/left/i2c.c | |
parent | 552c126bea24b4f182caa62ada8c2213dc06de23 (diff) |
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 <drashna@live.com>
* Fix comment
* usb_device_state.h: Don't include quantum.h, only the necessary headers.
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/dc01/left/i2c.c')
0 files changed, 0 insertions, 0 deletions