Browse Source

fix compile bug

master
zhaohe 2 years ago
parent
commit
2dfab82d85
  1. 3
      components/iflytop_can_slave_module_master_end/stepmotor.cpp

3
components/iflytop_can_slave_module_master_end/stepmotor.cpp

@ -1,4 +1,6 @@
#include "stepmotor.hpp" #include "stepmotor.hpp"
#ifdef HAL_CAN_MODULE_ENABLED
using namespace iflytop; using namespace iflytop;
#define SAMC_REG_ACT_ROTATE (0) // ËÙ¶Èģʽ¿ØÖÆ #define SAMC_REG_ACT_ROTATE (0) // ËÙ¶Èģʽ¿ØÖÆ
@ -138,3 +140,4 @@ void StepMotor::clearException() {
namespace iflytop { namespace iflytop {
StepMotor g_nullStepMotor; StepMotor g_nullStepMotor;
} }
#endif
Loading…
Cancel
Save