summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--teensy/main.c4
-rw-r--r--teensy/modpyb.c2
-rw-r--r--teensy/usb.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/teensy/main.c b/teensy/main.c
index fdedff89cc..a5b2d5b52c 100644
--- a/teensy/main.c
+++ b/teensy/main.c
@@ -15,7 +15,6 @@
#include "gc.h"
#include "gccollect.h"
#include "pyexec.h"
-#include "pybstdio.h"
#include "readline.h"
#include "Arduino.h"
@@ -24,8 +23,9 @@
#include "servo.h"
#include "usb.h"
#include "led.h"
-
+#include "uart.h"
//#include "pin.h"
+#include "pybstdio.h"
extern uint32_t _heap_start;
diff --git a/teensy/modpyb.c b/teensy/modpyb.c
index 64b9bda2d9..81149d89bf 100644
--- a/teensy/modpyb.c
+++ b/teensy/modpyb.c
@@ -39,7 +39,6 @@
#include "gc.h"
#include "gccollect.h"
#include "systick.h"
-#include "pybstdio.h"
#include "pyexec.h"
#include "led.h"
#include "pin.h"
@@ -59,6 +58,7 @@
#include "dac.h"
#include "usb.h"
#include "portmodules.h"
+#include "pybstdio.h"
/// \module pyb - functions related to the pyboard
///
diff --git a/teensy/usb.c b/teensy/usb.c
index 5af5d7e444..37c479ec7c 100644
--- a/teensy/usb.c
+++ b/teensy/usb.c
@@ -25,7 +25,7 @@ int usb_vcp_rx_num(void) {
return usb_serial_available();
}
-char usb_vcp_rx_get(void)
+int usb_vcp_recv_byte(void)
{
return usb_serial_getchar();
}