Searched refs:earth_accel (Results 1 – 1 of 1) sorted by relevance
156 const uint32_t earth_accel = 9; // Switch threshold [m/s^2] in onEvent() local159 if (x_accel == earth_accel) { in onEvent()161 } else if (x_accel == -earth_accel) { in onEvent()163 } else if (y_accel == -earth_accel) { in onEvent()