* mode.
*/
static unsigned char user_params[N_USER_PARAMS] = { 0, 0, 0 };
-static unsigned char user_params_max[N_USER_PARAMS] = { 3, 2, 2 };
+static unsigned char user_params_max[N_USER_PARAMS] = {
+ N_AMBIENT_ZONES+1, 2, 2
+};
static unsigned char user_params_state = 0;
/*
// --- no change ---
duration = jiffies - button_start[2];
- if (duration <= 3)
+ if (duration == 0) // at least two jiffies
return;
if (cur) {