Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network.h')
-rw-r--r--src/Network.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network.h b/src/Network.h
index 9f80cb85..3cee3d45 100644
--- a/src/Network.h
+++ b/src/Network.h
@@ -15,6 +15,7 @@ Separated out from Platform.h by dc42 and extended by zpl
#include <climits>
#include "lwipopts.h"
+
#include "OutputMemory.h"
// This class handles the network - typically an Ethernet.
@@ -41,7 +42,6 @@ const uint16_t DEFAULT_HTTP_PORT = 80;
const uint16_t FTP_PORT = 21;
const uint16_t TELNET_PORT = 23;
-
/****************************************************************************************************/
struct tcp_pcb;
@@ -201,7 +201,7 @@ class Network
NetworkTransaction * volatile readyTransactions;
NetworkTransaction * volatile writingTransactions;
- enum { NetworkInactive, NetworkEstablishingLink, NetworkActive } state;
+ enum { NetworkInactive, NetworkEstablishingLink, NetworkObtainingIP, NetworkActive } state;
bool isEnabled;
volatile bool resetCallback;
char hostname[16]; // Limit DHCP hostname to 15 characters + terminating 0