diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2013-10-27 12:42:20 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2013-10-27 12:42:20 +0100 |
commit | 30093c218a3bab38b79af06babaecee8842a1949 (patch) | |
tree | ed0b7ca40c2cb56831299e9a5585454875f3aa94 | |
parent | 9546f5d023c98bb3bcbdc2dd939ae9a2d8997154 (diff) |
Removed QE bitshift.
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); } |