/*
 * globals.h
 *
 *  Created on: Apr 24, 2025
 *      Author: 911BL
 */

#ifndef GLOBALS_H_
#define GLOBALS_H_

#include <stdint.h>
#include <stdbool.h>
#include "filter.h"


extern uint32_t STEPCOUNT;
extern uint32_t DISTANCE;
extern uint32_t GOAL;
extern uint32_t SETGOAL;

typedef enum {
    CURRENT_STEPS,
    DISTANCE_TRAVELLED,
    GOAL_PROGRESS
} display_state_t;

extern volatile display_state_t current_screen;
extern bool test_mode_active;
extern bool GOALSTATE;

extern filter_info x_filter;
extern filter_info y_filter;
extern filter_info z_filter;


#endif
