Skip to main content

clear

Function clear 

Source
pub fn clear() -> bool
Expand description

Clear all config data from NVS (reverts to defaults on next load).

Returns false when storage is busy or the delete fails — callers must not reboot into a “factory reset” that did not happen.