Skip to content

Commit 36901d3

Browse files
defined Ethernet driver and interface instance
1 parent 8352f52 commit 36901d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/Ethernet/src/EthernetC33.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@
1919
#ifdef ARDUINO_PORTENTA_C33
2020

2121
// TODO Instantiate the drivers for ethernet with default configuration parameters
22-
// EthernetC33Driver C33EthernetDriver(2, 2, mem_malloc, 1536);
22+
inline EthernetC33Driver EthernetDriver(2, 2, mem_malloc, 1536);
2323

2424
// FIXME Instantiate a global variable from CEth, calling it Ethernet
25+
inline CEth Ethernet(&EthernetDriver);
2526

2627
#endif

0 commit comments

Comments
 (0)