mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
19 lines
686 B
C
19 lines
686 B
C
// =================================================================================================
|
|
// eModbus: Copyright 2020 by Michael Harwerth, Bert Melis and the contributors to eModbus
|
|
// MIT license - see license.md for details
|
|
// =================================================================================================
|
|
#ifndef _MODBUS_SERVER_ETHERNET_H
|
|
#define _MODBUS_SERVER_ETHERNET_H
|
|
#include "options.h"
|
|
#if HAS_ETHERNET == 1
|
|
#include <Ethernet.h>
|
|
#include <SPI.h>
|
|
|
|
#undef SERVER_END
|
|
#define SERVER_END // NIL for Ethernet
|
|
|
|
#include "ModbusServerTCPtemp.h"
|
|
using ModbusServerEthernet = ModbusServerTCP<EthernetServer, EthernetClient>;
|
|
#endif
|
|
|
|
#endif
|