Skip to content

Commit

Permalink
Domyos EL 520 auto resistance #1252
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Feb 14, 2023
1 parent 06110e8 commit d504812
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/domyoselliptical.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ void domyoselliptical::update() {
&domyoselliptical::changeInclinationRequested);
} else {
debug("creating virtual bike interface...");
virtualBike = new virtualbike(this);
virtualBike = new virtualbike(this, noWriteResistance, noHeartService, bikeResistanceOffset,
bikeResistanceGain);
connect(virtualBike, &virtualbike::changeInclination, this,
&domyoselliptical::changeInclinationRequested);
connect(virtualBike, &virtualbike::changeInclination, this, &domyoselliptical::changeInclination);
Expand Down

0 comments on commit d504812

Please sign in to comment.