Перенос заглушек в modbus_compat и заготовки для TCP

This commit is contained in:
2025-11-06 12:48:37 +03:00
parent 510e8aec50
commit 8a2e7398e1
12 changed files with 175 additions and 114 deletions

View File

@@ -544,14 +544,4 @@ void MB_DeviceInentificationInit(void)
#endif
}
#else //MODBUS_ENABLE_DEVICE_IDENTIFICATIONS
/* Получить количество объектов в сообщении */
void MB_WriteSingleObjectToMessage(char *mbdata, unsigned *ind, MB_DeviceObjectTypeDef *obj) {}
void MB_WriteObjectsToMessage(RS_MsgTypeDef *modbus_msg, unsigned maxidofobj) {}
uint8_t MB_Process_Read_Device_Identifications(RS_MsgTypeDef *modbus_msg) {return 0;}
void MB_DeviceInentificationInit(void) {}
#endif
#endif //MODBUS_ENABLE_DEVICE_IDENTIFICATIONS