aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/arm_atsam/usb/ui.h
diff options
context:
space:
mode:
authorpatrickmt <40182064+patrickmt@users.noreply.github.com>2018-11-02 15:30:51 -0400
committerDrashna Jaelre <drashna@live.com>2018-11-02 14:33:07 -0700
commitcec203ea80c8e9365bb5f43418fba5971dd4091f (patch)
tree6ea7d621f7f14bf6ea2b5019867cac8c71a0e8e8 /tmk_core/protocol/arm_atsam/usb/ui.h
parent563fe23e53fb747f509b8558bb29bde0baf2d6a8 (diff)
downloadfirmware-cec203ea80c8e9365bb5f43418fba5971dd4091f.tar.gz
firmware-cec203ea80c8e9365bb5f43418fba5971dd4091f.tar.bz2
firmware-cec203ea80c8e9365bb5f43418fba5971dd4091f.zip
USB Suspend for arm_atsam protocol
Rewrote USB state tracking for implementation of suspend state. Updated suspend.c in entirety. Main subtasks (generally hardware related) are now run prior to keyboard task.
Diffstat (limited to 'tmk_core/protocol/arm_atsam/usb/ui.h')
-rw-r--r--tmk_core/protocol/arm_atsam/usb/ui.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/tmk_core/protocol/arm_atsam/usb/ui.h b/tmk_core/protocol/arm_atsam/usb/ui.h
index 3d899e669..d1c767d45 100644
--- a/tmk_core/protocol/arm_atsam/usb/ui.h
+++ b/tmk_core/protocol/arm_atsam/usb/ui.h
@@ -47,12 +47,6 @@
#ifndef _UI_H_
#define _UI_H_
-extern volatile uint8_t usb_state;
-
-#define USB_STATE_UNKNOWN 0
-#define USB_STATE_POWERDOWN 1
-#define USB_STATE_POWERUP 2
-
//! \brief Initializes the user interface
void ui_init(void);