summaryrefslogtreecommitdiffstats
path: root/firmware/main.c
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2013-10-07 01:17:39 +0200
committercpldcpu <cpldcpu@gmail.com>2013-10-07 01:17:39 +0200
commit16c1092c688200cba1231dbfebbac52b4d178c03 (patch)
tree0fa72c4832117e786be096fe5d60c1f366777472 /firmware/main.c
parentbfc82adaf601462b5bb27afd20d5f655f5537146 (diff)
downloadmicronucleus-16c1092c688200cba1231dbfebbac52b4d178c03.tar.gz
micronucleus-16c1092c688200cba1231dbfebbac52b4d178c03.tar.bz2
micronucleus-16c1092c688200cba1231dbfebbac52b4d178c03.zip
Reduce accesses to global variable idlePolls
saves 8 bytes
Diffstat (limited to 'firmware/main.c')
-rw-r--r--firmware/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/main.c b/firmware/main.c
index fb03923..6b281d9 100644
--- a/firmware/main.c
+++ b/firmware/main.c
@@ -441,7 +441,6 @@ int main(void) {
do {
usbPoll();
_delay_us(100);
- idlePolls++;
// these next two freeze the chip for ~ 4.5ms, breaking usb protocol
// and usually both of these will activate in the same loop, so host