autopause.h 423 B

1234567891011121314
  1. #pragma once
  2. struct auto_pause_s {
  3. unsigned char point_counter;
  4. unsigned long int prev_distance;
  5. unsigned char speed_counter;
  6. struct location_s pause_anchor; /* running average position while paused */
  7. unsigned int anchor_sample_count;
  8. unsigned char resume_high_history; /* bit history: was the anchor-distance/speed resume condition met */
  9. };
  10. extern struct auto_pause_s auto_pause;
  11. void auto_pause_process(void);