public synchronized int getSavedSettle() {
SharedPreferences settings = ctx.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE);
- return settings.getInt("settle_time", 100);
+ return settings.getInt("settle_time", 150);
}
public synchronized void setSavedSettle(int settle) {
poll_time = module.getPoll();
TextView text = (TextView)findViewById(R.id.text);
- text.setText("Current status:\n\nModule loaded: " + loaded + "\n" +
+ text.setText("Module loaded: " + loaded + "\n" +
"debounce_delay: " + debounce_delay + "ms\n" +
"settle_time: " + settle_time + "us\n" +
"poll_time: " + poll_time + "ms\n" +