- #pragma once
- struct auto_pause_s {
- unsigned char point_counter;
- unsigned long int prev_distance;
- unsigned char speed_counter;
- struct location_s pause_anchor; /* running average position while paused */
- unsigned int anchor_sample_count;
- unsigned char resume_high_history; /* bit history: was the anchor-distance/speed resume condition met */
- };
- extern struct auto_pause_s auto_pause;
- void auto_pause_process(void);
- void auto_pause_reset_gap(void);
- void auto_pause_clear_manual_resume(void);
|