#ifndef __DETECT_STEP_BY_MAG_H__ #define __DETECT_STEP_BY_MAG_H__ #include #include #include #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); #endif