diff options
| author | Astrid Smith | 2011-09-11 18:38:32 -0700 |
|---|---|---|
| committer | Astrid Smith | 2011-09-11 18:38:32 -0700 |
| commit | e542e1d59b2e98d12bc8193a539a8120bd496042 (patch) | |
| tree | a18a8ca88d5a5354c85f1e717b9a5bfeb6fe288e /example.c | |
| parent | e94b760d621b41e77e358d9c24877162099c47d9 (diff) | |
Removed latency check from teensy code
Diffstat (limited to 'example.c')
| -rw-r--r-- | example.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -41,7 +41,6 @@ int main(void) int changed = 0, val; int port = 'B' - 'A'; int pin = 1 << ('0' - '0'); - int latency = 0; CPU_PRESCALE(0x00); // 16 MHz usb_init(); @@ -76,10 +75,7 @@ int main(void) // usb_serial_putchar(count > 16667 ? '>' : '<'); send_int(count); - usb_serial_putchar(' '); - send_int(latency); usb_serial_putchar('\n'); - latency = TCNT1; } else if ((val == 1) && (changed == 0)) { /* leading edge of pulse. */ |
