Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ public boolean checkIfAnyMplChannelEnabled(){
}

public boolean checkIfAMpuGyroOrAccelEnabled(){
if(isSensorEnabled(mSensorIdGyro)) {
if(isSensorEnabled(mSensorIdGyro) || isSensorEnabled(mSensorIdAccelLN)) {
return true;
}
// if(isSensorEnabled(mSensorIdAccel)) {
Expand Down Expand Up @@ -1165,7 +1165,7 @@ public boolean processResponse(int responseCommand, Object parsedResponse, COMMU

@Override
public void checkShimmerConfigBeforeConfiguring() {
if(!isSensorEnabled(mSensorIdGyro)){
if(!(isSensorEnabled(mSensorIdGyro) || isSensorEnabled(mSensorIdAccelLN))) {
setDefaultLSM6DSVGyroSensorConfig(false);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void actionPerformed(ActionEvent e) {

AssembleShimmerConfig.generateSingleShimmerConfig(clone, COMMUNICATION_TYPE.BLUETOOTH);
bluetoothManager.configureShimmer(clone);
dialog.dispose();

} else {
JOptionPane.showMessageDialog(dialog, "Device not in a connected state!", "Info",
Expand Down