Adding reboot logging
This commit is contained in:
parent
006fb81b95
commit
0c044c6e11
|
@ -72,6 +72,7 @@
|
||||||
* L=locked (1=door1, 2=door2, 3=bedtime)
|
* L=locked (1=door1, 2=door2, 3=bedtime)
|
||||||
* M=minute (#=minute)
|
* M=minute (#=minute)
|
||||||
* m=alarm state (# level)
|
* m=alarm state (# level)
|
||||||
|
* p=power on (reboot)
|
||||||
* R=read tag (# card num)
|
* R=read tag (# card num)
|
||||||
* r=second half of tag
|
* r=second half of tag
|
||||||
* Q=superuser authed (#=superuser)
|
* Q=superuser authed (#=superuser)
|
||||||
|
@ -1327,7 +1328,7 @@ void log(byte Action, long LongInfo, byte ShortInfo)
|
||||||
default:{
|
default:{
|
||||||
switch(Action) {
|
switch(Action) {
|
||||||
case LOG_REBOOT: { // Reboot - Log system startup
|
case LOG_REBOOT: { // Reboot - Log system startup
|
||||||
//PROGMEMprintln(rebootMessage);
|
addToLog('p',1);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case LOG_ALARM_TRIGGERED: { // Log Alarm Triggered
|
case LOG_ALARM_TRIGGERED: { // Log Alarm Triggered
|
||||||
|
|
Loading…
Reference in New Issue
Block a user