Skip to content

Commit

Permalink
fix custom actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Nov 3, 2024
1 parent aeaa8f3 commit 5dbfca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Backend/move_lists.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Future<void> runAction(BaseAction action, BaseStatefulDevice device) async {
sl = '${sl}L${move.speed.toInt()}';
m = '${m}M${move.speed.toInt()}';
}
cmd = '$cmd $a $b $e $f $sl H1';
cmd = '$cmd $a $b $e $f $sl $m H1';
device.commandQueue.addCommand(BluetoothMessage(message: cmd, device: device, priority: Priority.normal, type: CommandType.move, timestamp: DateTime.now()));
device.commandQueue.addCommand(BluetoothMessage(message: "TAILU$preset", device: device, priority: Priority.normal, responseMSG: "TAILU$preset END", type: CommandType.move, timestamp: DateTime.now()));
} else {
Expand Down

0 comments on commit 5dbfca6

Please sign in to comment.