tmk_core: remove direct quantum.h
includes (#21465)
This commit is contained in:
parent
d83578dbe4
commit
30de598650
7 changed files with 13 additions and 9 deletions
|
@ -13,13 +13,17 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "quantum.h"
|
||||
|
||||
#include "usb_util.h"
|
||||
#include "gpio.h"
|
||||
#include "wait.h"
|
||||
|
||||
__attribute__((weak)) void usb_disconnect(void) {}
|
||||
|
||||
__attribute__((weak)) bool usb_connected_state(void) {
|
||||
return true;
|
||||
}
|
||||
|
||||
__attribute__((weak)) bool usb_vbus_state(void) {
|
||||
#ifdef USB_VBUS_PIN
|
||||
setPinInput(USB_VBUS_PIN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue