Searched refs:mag2 (Results 1 – 1 of 1) sorted by relevance
192 uint32_t mag2 = SQUARED(pData->accel[0]) + SQUARED(pData->accel[1]) + SQUARED(pData->accel[2]); in suspend_compute() local194 …(mag2 > SQUARED(pPedometer->config.sleepminimum)) && (mag2 < SQUARED(pPedometer->config.sleepmaxim… in suspend_compute()