Compiler defines USBCON for USB devices (PR#2433)

This commit is contained in:
Richard Wackerbarth
2015-05-24 11:32:34 -05:00
parent 7268d46508
commit e83575537a
12 changed files with 12 additions and 24 deletions

View File

@ -629,7 +629,7 @@ ISR(TIMER1_COMPA_vect) {
// Take multiple steps per interrupt (For high speed moves)
for (int8_t i = 0; i < step_loops; i++) {
#ifndef AT90USB
#ifndef USBCON
MSerial.checkRx(); // Check for serial chars.
#endif