Skip to content

Commit 9e546dd

Browse files
More state reset fixes.
1 parent 5963350 commit 9e546dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/board/data-logging.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ export class DataLogging {
138138
delete() {
139139
this.resetNonFlashStateExceptTimestamp();
140140
this.headings = [];
141+
this.timestampOnLastEndRow = undefined;
142+
141143
this.size = 0;
142144
if (this.logFull) {
143145
this.logFull = false;
@@ -156,7 +158,6 @@ export class DataLogging {
156158
// headings are considered flash state as MicroBitLog reparses them from flash
157159
this.mirroring = false;
158160
this.headingsChanged = false;
159-
this.timestampOnLastEndRow = undefined;
160161
this.row = undefined;
161162
}
162163
}

0 commit comments

Comments
 (0)