Skip to content

Commit e40c722

Browse files
committed
Fix teensy to work with the latest tree.
1 parent 8464be1 commit e40c722

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

teensy/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include "gc.h"
1616
#include "gccollect.h"
1717
#include "pyexec.h"
18-
#include "pybstdio.h"
1918
#include "readline.h"
2019

2120
#include "Arduino.h"
@@ -24,8 +23,9 @@
2423
#include "servo.h"
2524
#include "usb.h"
2625
#include "led.h"
27-
26+
#include "uart.h"
2827
//#include "pin.h"
28+
#include "pybstdio.h"
2929

3030

3131
extern uint32_t _heap_start;

teensy/modpyb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include "gc.h"
4040
#include "gccollect.h"
4141
#include "systick.h"
42-
#include "pybstdio.h"
4342
#include "pyexec.h"
4443
#include "led.h"
4544
#include "pin.h"
@@ -59,6 +58,7 @@
5958
#include "dac.h"
6059
#include "usb.h"
6160
#include "portmodules.h"
61+
#include "pybstdio.h"
6262

6363
/// \module pyb - functions related to the pyboard
6464
///

teensy/usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ int usb_vcp_rx_num(void) {
2525
return usb_serial_available();
2626
}
2727

28-
char usb_vcp_rx_get(void)
28+
int usb_vcp_recv_byte(void)
2929
{
3030
return usb_serial_getchar();
3131
}

0 commit comments

Comments
 (0)