Skip to content

Commit

Permalink
add forceboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevie-Ray committed Oct 12, 2024
1 parent 0dc1d0d commit d2dd86a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/organisms/WorkoutTimer/WorkoutTimer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@ const exerciseSteps = () => {
}
if (
device.value &&
(device.value instanceof Motherboard || device.value instanceof Progressor) &&
(device.value instanceof ForceBoard ||
device.value instanceof Motherboard ||
device.value instanceof Progressor) &&
exercise.value
) {
device.value.stream((exercise.value.hold - 1) * 1000)
Expand Down Expand Up @@ -549,7 +551,9 @@ const setupWorkout = async () => {
clock.value = exercise.value.hold - 1
if (
device.value &&
(device.value instanceof Motherboard || device.value instanceof Progressor)
(device.value instanceof ForceBoard ||
device.value instanceof Motherboard ||
device.value instanceof Progressor)
) {
device.value.stream((exercise.value.hold - 1) * 1000)
}
Expand Down

0 comments on commit d2dd86a

Please sign in to comment.