#ifndef __DETECT_STEP_BY_MAG_H__
#define __DETECT_STEP_BY_MAG_H__

#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "sdk_common.h"
#include "SEGGER_RTT.h"
#include "usr_config.h"
#include "nrf_gpio.h"



//uint8_t detect_step_by_mag(int16_t *mag);
uint8_t detect_step_by_mag(int16_t *mag, int16_t acc_z);
uint8_t RealTimeStep(int16_t front[3], int16_t back[3], int16_t acc[3]);


#endif
