Minor fixes

This commit is contained in:
Sacha Weatherstone committed 2022-07-31 16:09:42 +10:00
1 parent d7149ef02b
commit 48838f767f
6 files changed
+354 -247

No files matched your search

+2 -14
View File
@@ -1,6 +1,6 @@
import { IsBoolean, IsEnum, IsInt } from "class-validator";
import { IsBoolean, IsInt } from "class-validator";
import { Protobuf } from "@meshtastic/meshtasticjs";
import type { Protobuf } from "@meshtastic/meshtasticjs";
export class TelemetryValidation
implements Protobuf.ModuleConfig_TelemetryConfig
@@ -17,18 +17,6 @@ export class TelemetryValidation
@IsBoolean()
environmentScreenEnabled: boolean;
@IsInt()
environmentReadErrorCountThreshold: number;
@IsInt()
environmentRecoveryInterval: number;
@IsBoolean()
environmentDisplayFahrenheit: boolean;
@IsEnum(Protobuf.TelemetrySensorType)
environmentSensorType: Protobuf.TelemetrySensorType;
@IsInt()
environmentSensorPin: number;
}