reef monitor

Dependencies:   mbed-rtos EthernetInterface FatFileSystemCpp MCP23S17 SDFileSystem mbed

Fork of HTTPServerHelloWorld by Donatien Garnier

Revision:
6:b2c4687b421d
Parent:
5:df012c2caf40
Child:
7:1fe91b525d9a
--- a/Model/Application.cpp	Sat Feb 01 18:54:20 2014 +0000
+++ b/Model/Application.cpp	Sun Feb 02 16:57:24 2014 +0000
@@ -27,10 +27,11 @@
     ethernetService->setRtcTime();
     
     // starting the file system
-    fileSystem = new LocalFileSystem("local");
+    localFileSystem = new LocalFileSystem("local");
+    mscFileSystem = new MSCFileSystem("msc");
     
     // start the rest api server
-    restServer = new RestServer(fileSystem);
+    restServer = new RestServer(localFileSystem, mscFileSystem);
     restServer->bind();
 }