Skip to content

Commit 9330191

Browse files
authored
Fix OpenCR transports (#357)
* Fix OpenCR transports * Update * Update src/micro_ros_arduino.h
1 parent 3529e99 commit 9330191

File tree

3 files changed

+11
-62
lines changed

3 files changed

+11
-62
lines changed

src/arduino_transports.c

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/default_transport.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,14 @@ extern "C"
6060
return Serial.readBytes((char *)buf, len);
6161
}
6262
}
63+
64+
// ---- Build fixes -----
65+
66+
// TODO: This should be fixed
67+
#if defined(ARDUINO_TEENSY32) || defined(ARDUINO_TEENSY35)
68+
69+
extern "C" void _write(){
70+
}
71+
72+
#endif
73+
// ----------------------

src/opencr_transports.c.in

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)