We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1547622 commit f072f12Copy full SHA for f072f12
src/board/sensors.ts
@@ -130,7 +130,7 @@ export interface LogData {
130
}
131
132
export class DataLoggingSensor extends Sensor {
133
- public value: LogData[][] | null = null;
+ public value: LogData[][] = [];
134
public period: string = "none";
135
public delete: boolean = false;
136
public serial: boolean = false;
src/board/ui.ts
@@ -700,6 +700,6 @@ export class DataLoggingUI {
700
this.log.serial = false;
701
this.log.period = "none";
702
this.logData = [];
703
- this.log.setValue(null);
+ this.log.setValue([]);
704
705
0 commit comments