Monitor motorhome leisure battery and provide simple control of habitation
Dependencies: net lpc1768 crypto clock web fram log
lpc1768-this/restart-this.c@0:b843d647695c, 2021-01-14 (annotated)
- Committer:
- andrewboyson
- Date:
- Thu Jan 14 16:05:55 2021 +0000
- Revision:
- 0:b843d647695c
Creation (mostly a copy of heating at the moment)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 0:b843d647695c | 1 | #include "restart.h" |
andrewboyson | 0:b843d647695c | 2 | #include "restart-this.h" |
andrewboyson | 0:b843d647695c | 3 | |
andrewboyson | 0:b843d647695c | 4 | const char* RestartThisGetZoneString() |
andrewboyson | 0:b843d647695c | 5 | { |
andrewboyson | 0:b843d647695c | 6 | switch (RestartGetLastCause()) |
andrewboyson | 0:b843d647695c | 7 | { |
andrewboyson | 0:b843d647695c | 8 | case RESTART_ZONE_NTP_CLIENT: return "NTP" ; |
andrewboyson | 0:b843d647695c | 9 | case RESTART_ZONE_VALUES : return "Values" ; |
andrewboyson | 0:b843d647695c | 10 | case RESTART_ZONE_ONE_WIRE : return "1-wire" ; |
andrewboyson | 0:b843d647695c | 11 | case RESTART_ZONE_DEVICE : return "Device" ; |
andrewboyson | 0:b843d647695c | 12 | case RESTART_ZONE_HEATING : return "Heating"; |
andrewboyson | 0:b843d647695c | 13 | default : return "Unknown"; |
andrewboyson | 0:b843d647695c | 14 | } |
andrewboyson | 0:b843d647695c | 15 | } |