关于stm8s的enum求助
今天看到一段这样的代码typedef enum
{
MB_ENOERR, /*!< no error. */
MB_ENOREG, /*!< illegal register address. */
MB_EINVAL, /*!< illegal argument. */
MB_EPORTERR, /*!< porting layer error. */
MB_ENORES, /*!< insufficient resources. */
MB_EIO, /*!< I/O error. */
MB_EILLSTATE, /*!< protocol stack in illegal state. */
MB_ETIMEDOUT /*!< timeout error occurred. */
} eMBErrorCode;
eMBErrorCode eMBRegDiscreteCB( UCHAR * pucRegBuffer, USHORT usAddress,
USHORT usNDiscrete );
但是st的编译器ST Visual Develop 总是提示symbol _eMBRegDiscreteCB not defined;
求专家解释;010:'(:'(
RE:关于stm8s的enum求助
问题已经解决!!
页:
[1]