/* applesmc_calibrate - Set our "resting" values. Callers must hold applesmc_lock.  */
static void applesmc_calibrate(void)
/* applesmc_calibrate - Set our "resting" values. Callers must hold applesmc_lock.  */
static void applesmc_calibrate(void)
{
	applesmc_read_motion_sensor(SENSOR_X, &rest_x);
	applesmc_read_motion_sensor(SENSOR_Y, &rest_y);
	rest_x = -rest_x;
}