debug modbus slave

This commit is contained in:
wmano
2025-09-10 23:03:11 +08:00
parent 7b764c34b9
commit 485e535c4d
28 changed files with 507 additions and 449 deletions
+4 -2
View File
@@ -34,7 +34,7 @@
#define _MB_RTU_H
#ifdef __cplusplus
PR_BEGIN_EXTERN_C
extern "C" {
#endif
eMBErrorCode eMBRTUInit( UCHAR slaveAddress, UCHAR ucPort, ULONG ulBaudRate,
eMBParity eParity );
@@ -59,6 +59,8 @@ BOOL xMBMasterRTUTimerExpired( void );
#endif
#ifdef __cplusplus
PR_END_EXTERN_C
}
#endif
#endif