Добавление совместимости с старым API
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
Модуль реализации Modbus в режиме слейв
|
||||
******************************************************************************/
|
||||
#ifndef __MODBUS_SLAVE_H_
|
||||
#define __MODBUS_SLAVE_H_
|
||||
|
||||
#define __MODBUS_SLAVE_H_
|
||||
#include "rs_message.h"
|
||||
#ifdef MODBUS_ENABLE_SLAVE
|
||||
|
||||
|
||||
/**
|
||||
@@ -31,4 +31,7 @@ RS_StatusTypeDef MB_Slave_Parse_Message(RS_HandleTypeDef *hmodbus, RS_MsgTypeDef
|
||||
/** MODBUS_SLAVE
|
||||
* @}
|
||||
*/
|
||||
|
||||
|
||||
#endif //MODBUS_ENABLE_SLAVE
|
||||
#endif //__MODBUS_SLAVE_H_
|
||||
|
||||
Reference in New Issue
Block a user