tmk_core: remove direct quantum.h
includes (#21465)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user