]> rtime.felk.cvut.cz Git - arc.git/commitdiff
minor fixes
authornier <devnull@localhost>
Sat, 8 Oct 2011 16:40:41 +0000 (18:40 +0200)
committernier <devnull@localhost>
Sat, 8 Oct 2011 16:40:41 +0000 (18:40 +0200)
communication/J1939Tp/J1939Tp_Internal.h
communication/J1939Tp/J1939Tp_Internal_Packets.h

index a64017787d1d686db2a81aa4afb5c7a2f28b60b7..0861efe265ae3fbefb7e894eff986330dff662c3 100644 (file)
@@ -103,7 +103,7 @@ static inline Std_ReturnType J1939Tp_Internal_ConfGetPg(PduIdType NSduId, const
 static inline J1939Tp_Internal_TimerStatusType J1939Tp_Internal_IncAndCheckTimer(J1939Tp_Internal_TimerType* TimerInfo);\r
 \r
 static inline void J1939Tp_Internal_SendBam(J1939Tp_Internal_ChannelInfoType* ChannelInfoPtr,const PduInfoType* TxInfoPtr);\r
-static inline void J1939Tp_Internal_SendDt(J1939Tp_Internal_ChannelInfoType* Channel);\r
+static inline Std_ReturnType J1939Tp_Internal_SendDt(J1939Tp_Internal_ChannelInfoType* Channel);\r
 static inline void J1939Tp_Internal_SendRts(J1939Tp_Internal_ChannelInfoType* ChannelInfoPtr, const PduInfoType* TxInfoPtr);\r
 static inline void J1939Tp_Internal_SendEndOfMsgAck(J1939Tp_Internal_ChannelInfoType* Channel);\r
 static inline void J1939Tp_Internal_SendCts(J1939Tp_Internal_ChannelInfoType* ChannelInfoPtr, J1939Tp_PgnType Pgn, uint8 NextPacketSeqNum,uint8 NumPackets);\r
index efe2884ec206ac60b05cdd079049d488012f04de..aea543294d6c7c63f70b092cc812b35b7b6cebb9 100644 (file)
@@ -75,7 +75,7 @@
 #define CONNABORT_BYTE_PGN_2                   CM_PGN_BYTE_2\r
 #define CONNABORT_BYTE_PGN_3                   CM_PGN_BYTE_3\r
 \r
-#define CONNABORT_CONTROL_VALUE                32\r
+#define CONNABORT_CONTROL_VALUE                255\r
 \r
 #define J1939TP_T4_TIMEOUT_MS  1050\r
 #define J1939TP_T3_TIMEOUT_MS  1250\r