From e80077e8b21c8db27c9ea046b9416e67f7b98abd Mon Sep 17 00:00:00 2001 From: Codel1417 Date: Sat, 8 Jun 2024 15:07:42 -0400 Subject: [PATCH] Add temp fix for gear hw ver stopping commands --- lib/Backend/Definitions/Device/device_definition.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Backend/Definitions/Device/device_definition.dart b/lib/Backend/Definitions/Device/device_definition.dart index 91cbb3a5..66d1d3b1 100644 --- a/lib/Backend/Definitions/Device/device_definition.dart +++ b/lib/Backend/Definitions/Device/device_definition.dart @@ -148,7 +148,7 @@ class BaseStatefulDevice extends ChangeNotifier { // Add initial commands to the queue Future.delayed(const Duration(seconds: 2), () { commandQueue.addCommand(BluetoothMessage(message: "VER", device: this, priority: Priority.low, type: CommandType.system, responseMSG: "VER ")); - commandQueue.addCommand(BluetoothMessage(message: "HWVER", device: this, priority: Priority.low, type: CommandType.system, responseMSG: "HWVER ")); + commandQueue.addCommand(BluetoothMessage(message: "HWVER", device: this, priority: Priority.low, type: CommandType.system, responseMSG: baseDeviceDefinition.deviceType == DeviceType.ears ? "HWVER " : null)); }); } });