factory.h 357 B

123456789101112131415
  1. #ifndef _FACTORY_H__
  2. #define _FACTORY_H__
  3. #include "prot/can_message.h"
  4. #ifdef CONFIG_BOARD_MCXXX
  5. void can_process_factory_message(can_message_t *can_message);
  6. bool factory_is_running(void);
  7. #else
  8. static void can_process_factory_message(can_message_t *can_message){
  9. }
  10. static bool factory_is_running(void){
  11. return false;
  12. }
  13. #endif
  14. #endif /* _FACTORY_H__ */