rc_rock.h 451 B

123456789101112131415161718192021222324
  1. #ifndef __RC_ROCK_H_
  2. #define ___RC_ROCK_H_
  3. #include "common.h"
  4. #include <stdint.h>
  5. #include "remote_controller.h"
  6. typedef struct
  7. {
  8. /*--------- public members ---------------*/
  9. RC_Data_Type rc;
  10. /*--------- private members --------------*/
  11. uint32_t _link_lost_time_us; /* 失联记时 */
  12. } RC_Rock_Data;
  13. extern RC_Rock_Data rc_rock;
  14. void RcRock_Struct_Init(RC_Rock_Data* rc_rock);
  15. void RcRock_CheckLinkStatus(float dt_s);
  16. #endif