summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-10-27 12:42:20 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-10-27 12:42:20 +0100
commit30093c218a3bab38b79af06babaecee8842a1949 (patch)
treeed0b7ca40c2cb56831299e9a5585454875f3aa94
parent9546f5d023c98bb3bcbdc2dd939ae9a2d8997154 (diff)
Removed QE bitshift.
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 01417c6..2e87119 100644
--- a/main.cpp
+++ b/main.cpp
@@ -371,7 +371,7 @@ int main() {
}
if(usb.ep_ready(1)) {
- report_t report = {buttons, uint8_t(TIM2.CNT >> 2), uint8_t(TIM3.CNT >> 2)};
+ report_t report = {buttons, uint8_t(TIM2.CNT), uint8_t(TIM3.CNT)};
usb.write(1, (uint32_t*)&report, sizeof(report));
}