break;
}
configurations.put(Component.PULSE, tapConfig);
activeComponents.add(Component.PULSE);
activeNotifications.add(Component.PULSE);
<BUG>return new ThresholdConfig() {
</BUG>
@Override
public ThresholdConfig withThreshold(float gravity) {
byte nSteps= (byte) (gravity / MMA8452Q_G_PER_STEP);

break;
case DOUBLE_TAP:
tapConfig[0] |= 1 << (1 + 2 * axis.ordinal());
break;
}
configurations.put(Component.PULSE, tapConfig);
activeComponents.add(Component.PULSE);
activeNotifications.add(Component.PULSE);
return new TapConfig() {
@Override
public ThresholdConfig withThreshold(float gravity) {
byte nSteps= (byte) (gravity / MMA8452Q_G_PER_STEP);
