Skip to main content

EMERGENCY_RESET_MAGIC

Constant EMERGENCY_RESET_MAGIC 

Source
pub const EMERGENCY_RESET_MAGIC: [u8; 4];
Expand description

Magic word required in the payload of CommandOpcode::EmergencyReset to confirm the caller’s intent. Picked to be improbable for any byte sequence arising from a typo or a buggy host. Same role as LOCK_CONFIG_MAGIC in the lock commands.