Skip to content

Commit

Permalink
Merge pull request #217 from WildernessLabs/feature/boot-from-crash
Browse files Browse the repository at this point in the history
add OnBootFromCrash
  • Loading branch information
adrianstevens authored Apr 18, 2024
2 parents c5a86c3 + 7085443 commit 1158f01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/Meadow.Contracts/Hardware/Contracts/IApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public interface IApp
/// </summary>
public Task Initialize();

/// <summary>
/// Called by MeadowOS at boot time (before Initialize is called) if the device is booting after a crash
/// </summary>
public void OnBootFromCrash(IEnumerable<string> crashReports);

/// <summary>
/// The core of the app's work and logic
/// </summary>
Expand Down

0 comments on commit 1158f01

Please sign in to comment.