aboutsummaryrefslogtreecommitdiffstats
path: root/common/timer.c
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2012-10-06 02:23:12 +0900
committerGravatar tmk <nobody@nowhere>2012-10-17 15:55:37 +0900
commit4ae979f6ef8dbf9e1d1f35be15322ad6d02e2958 (patch)
tree9f5132005c27ef04ae793b77d4699cb285479466 /common/timer.c
parent93e33fb8f694c9685accd72ed0458a2cf3d3f04a (diff)
downloadqmk_firmware-4ae979f6ef8dbf9e1d1f35be15322ad6d02e2958.tar.gz
Initial version of new code for layer switch is added.
Diffstat (limited to 'common/timer.c')
-rw-r--r--common/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/timer.c b/common/timer.c
index 8b8d37e8b..e0dec6cef 100644
--- a/common/timer.c
+++ b/common/timer.c
@@ -22,6 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// counter resolution 1ms
+// NOTE: union { uint32_t timer32; struct { uint16_t dummy; uint16_t timer16; }}
volatile uint32_t timer_count = 0;
void timer_init(void)