Skip to content

Conversation

ForsakenHarmony
Copy link
Contributor

@ForsakenHarmony ForsakenHarmony commented Oct 26, 2021

Detects if the esp was reset 2 (or more) times during the given duration after booting.

Usage:

use esp_idf_svc::reset::detect_double_reset;

detect_double_reset(nvs.clone(), Duration::from_secs(3))?;

Depends on #15 (and in turn #13)

@ForsakenHarmony ForsakenHarmony marked this pull request as ready for review October 26, 2021 02:42
@ivmarkov ivmarkov force-pushed the master branch 3 times, most recently from 8a8adba to 5ccb542 Compare July 5, 2023 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants