Watchdog timer, boot reason tracking, net_poll frame limit, reboot/picoboot CLI commands
This commit is contained in:
@@ -9,8 +9,9 @@ type RequestInfo struct{}
|
||||
type BootReason uint8
|
||||
|
||||
const (
|
||||
BootCold BootReason = 0
|
||||
BootReboot BootReason = 1
|
||||
BootCold BootReason = 0
|
||||
BootReboot BootReason = 1
|
||||
BootWatchdog BootReason = 2
|
||||
)
|
||||
|
||||
func (b BootReason) String() string {
|
||||
@@ -19,6 +20,8 @@ func (b BootReason) String() string {
|
||||
return "cold"
|
||||
case BootReboot:
|
||||
return "reboot"
|
||||
case BootWatchdog:
|
||||
return "watchdog"
|
||||
default:
|
||||
return "unknown"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user