Browse Source

Add serialEvent6 to yield

main
Kurt Eckhardt 8 years ago
parent
commit
44027e2115
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      teensy3/yield.cpp

+ 3
- 0
teensy3/yield.cpp View File

@@ -49,6 +49,9 @@ void yield(void)
#endif
#ifdef HAS_KINETISK_UART4
if (Serial5.available()) serialEvent5();
#endif
#if defined(HAS_KINETISK_UART5) || defined (HAS_KINETISK_LPUART0)
if (Serial6.available()) serialEvent6();
#endif
running = 0;
};

Loading…
Cancel
Save