update
This commit is contained in:
parent
449c7e34f4
commit
d2ab7de012
4 changed files with 4 additions and 4 deletions
|
@ -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')
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue