Commit dba5e00
committed
os/kernel/crashlog_writer: Add crash log flash save
On top of the existing functionality:
1. Added the ability to record the time taken to save the log into a file.
2. Improved code readability.
3. Minimized the use of global variables.1 parent bfce97c commit dba5e00
File tree
2 files changed
+156
-96
lines changed- os
- include/tinyara/crashlog_writer
- kernel/crashlog_writer
2 files changed
+156
-96
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
0 commit comments