Andrew Boyson / Mbed 2 deprecated heating

Dependencies:   1-wire clock crypto fram log lpc1768 net web wiz mbed

Revision:
3:f1464bf461c1
Parent:
0:22b158d3c76f
Child:
4:d98e267bbd8d
--- a/main/main.c	Mon May 10 11:45:04 2021 +0000
+++ b/main/main.c	Thu May 13 16:49:56 2021 +0000
@@ -25,16 +25,13 @@
             Lpc1768Init();
                 ClkInit();
                 LogInit(ClkNowTmUtc, 115200);
-    if (       FramInit()) goto end; //Reserves 1 FRAM byte to detect if empty
-           FramAllocate(4);          //Reserves 4 FRAM bytes where the watchdog used to hold the last program position
+    if (   SettingsInit()) goto end; //Fram is initialised here
              CryptoInit();           //Uses log
                 NetInit();
-    if (SettingsNtpInit()) goto end; //Loads of FRAM
-                WebInit();           //No FRAM
-            OneWireInit();           //No FRAM
-             DeviceInit();           //No FRAM
-            HeatingInit();           //Loads of FRAM
-    if (   SettingsInit()) goto end;
+                WebInit();
+            OneWireInit();
+             DeviceInit();
+            HeatingInit();
     if (     ValuesInit()) goto end;
                 WizInit();
     while (1)