Michael Spencer / Mbed 2 deprecated LaOS

Dependencies:   mbed

Revision:
2:609dd3a73f33
Parent:
1:f5ac63519541
--- a/global.h	Wed Mar 05 06:14:02 2014 -0800
+++ b/global.h	Sat Mar 08 17:55:59 2014 -0800
@@ -27,11 +27,15 @@
 #include "LaosDisplay.h"
 #include "LaosMotion.h"
  
+typedef char IPAddress[16];
+void IpParse(char *a, int i[]);
+
 // Global configuration struct
 class GlobalConfig
 {
 public:
-  int ip[4], gw[4], nm[4], dns[4], port, dhcp;  // network settings
+  IPAddress ip, gw, nm, dns;
+  int port, dhcp;  // network settings
   int enable; // enable state (1 or 0)
   int autohome; // automatically home the axis at startup
   int autozhome; // automatically home the zaxis as well