Andrew Boyson / oldheating

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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers restart-this.c Source File

restart-this.c

00001 #include "restart.h"
00002 #include "restart-this.h"
00003 
00004 const char* RestartThisGetZoneString()
00005 {
00006     switch (RestartGetLastCause())
00007     {
00008         case RESTART_ZONE_NTP_CLIENT: return "NTP"    ;
00009         case RESTART_ZONE_VALUES    : return "Values" ;
00010         case RESTART_ZONE_ONE_WIRE  : return "1-wire" ;
00011         case RESTART_ZONE_DEVICE    : return "Device" ;
00012         case RESTART_ZONE_HEATING   : return "Heating";
00013         default                     : return "Unknown";
00014     }
00015 }