detect_step_by_mag.h 339 B

12345678910111213141516171819202122
  1. #ifndef __DETECT_STEP_BY_MAG_H__
  2. #define __DETECT_STEP_BY_MAG_H__
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include <string.h>
  6. #include "sdk_common.h"
  7. #include "SEGGER_RTT.h"
  8. #include "usr_config.h"
  9. #include "nrf_gpio.h"
  10. //uint8_t detect_step_by_mag(int16_t *mag);
  11. uint8_t detect_step_by_mag(int16_t *mag, int16_t acc_z);
  12. #endif