hal_state.c 295 B

12345678910111213141516171819
  1. #include "hal_state.h"
  2. #include "main.h"
  3. static uint8_t shoes_state_c =0;
  4. void hal_setstate(uint8_t value){
  5. }
  6. uint8_t IMU_GetGameMode(void)
  7. {
  8. if(GAME_MODE == shoes_state_c)return 1;
  9. else return 0;
  10. }
  11. uint8_t IMU_GetGameMode(void)
  12. {
  13. if(GAME_MODE == shoes_state_c)return 1;
  14. else return 0;
  15. }