This commit is contained in:
Harald Hoyer 2021-06-24 09:23:03 +02:00
parent 449c7e34f4
commit d2ab7de012
4 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ dependencies {
implementation "com.android.support:cardview-v7:28.0.0"
implementation "com.android.support:appcompat-v7:28.0.0"
implementation 'com.android.support:support-v13:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
implementation project(':android_antlib_4-14')
}

View file

@ -99,7 +99,7 @@ public class BluetoothChatFragment extends Fragment {
return;
IConsole.Data data = (IConsole.Data) msg.obj;
theFrag.mChannelService.setSpeed(data.mSpeed10 / 10.0);
theFrag.mChannelService.setPower(data.mPower10 * 9 / 100);
theFrag.mChannelService.setPower(data.mPower10 / 10);
theFrag.mChannelService.setCadence(data.mRPM);
theFrag.mSpeedText.setText(String.format("% 3.1f", data.mSpeed10 / 10.0));