Revision d2931db9 modules/DiWheelDrive_1-1/module.c

View differences:

modules/DiWheelDrive_1-1/module.c
807 807
  /* data           */ &_utVcnl4020Data,
808 808
};
809 809

  
810
static int _utShellCmdCb_LldRtCan(BaseSequentialStream* stream, int argc, char* argv[])
811
{
812
  (void)argc;
813
  (void)argv;
814
  aosUtRun(stream, &moduleUtLldRtCan, NULL);
815
  return AOS_OK;
816
}
817
aos_unittest_t moduleUtLldRtCan = {
818
  /* name           */ "RTCAN",
819
  /* info           */ NULL,
820
  /* test function  */ utLldRtCanFunc,
821
  /* shell command  */ {
822
    /* name     */ "unittest:rtcan",
823
    /* callback */ _utShellCmdCb_LldRtCan,
824
    /* next     */ NULL,
825
  },
826
  /* data           */ NULL,
827
};
828

  
810 829
#endif /* AMIROOS_CFG_TESTS_ENABLE == true */
811 830

  
812 831
/** @} */

Also available in: Unified diff