refactor rak13800 to new ethernet interface class

This commit is contained in:
liamcottle
2026-07-28 03:18:54 +12:00
parent e672679d6e
commit 203fd4e407
5 changed files with 144 additions and 11 deletions
+2 -10
View File
@@ -53,16 +53,8 @@ MultiSerialInterface interface_manager;
// include ethernet interface
#if defined(ETHERNET_ENABLED)
// todo refactor rak/nrf52 SerialEthernetInterface to new EthernetInterface
#if defined(NRF52_PLATFORM)
// include nrf52 ethernet interface
#include <helpers/nrf52/SerialEthernetInterface.h>
SerialEthernetInterface ethernet_interface;
#else
// include ethernet interface
#include <helpers/ethernet/EthernetInterface.h>
ETHERNET_CLASS ethernet_interface;
#endif
#include <helpers/ethernet/EthernetInterface.h>
ETHERNET_CLASS ethernet_interface;
#endif
// include hardware serial interface