mirror of
https://github.com/Seeed-Studio/Seeed_Arduino_CAN.git
synced 2026-07-28 04:06:45 +00:00
isExtFrame function renamed
This commit is contained in:
+3
-3
@@ -927,10 +927,10 @@ INT8U MCP_CAN::isRemoteRequest(void)
|
||||
}
|
||||
|
||||
/*********************************************************************************************************
|
||||
** Function name: isExtFrame
|
||||
** Descriptions: check whether received frame is standard 11bit or extended 29bit
|
||||
** Function name: isExtendedFrame
|
||||
** Descriptions: did we just receive standard 11bit frame or extended 29bit? 0 = std, 1 = ext
|
||||
*********************************************************************************************************/
|
||||
INT8U MCP_CAN::isExtFrame(void)
|
||||
INT8U MCP_CAN::isExtendedFrame(void)
|
||||
{
|
||||
return m_nExtFlg;
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ public:
|
||||
INT8U checkError(void); /* if something error */
|
||||
INT32U getCanId(void); /* get can id when receive */
|
||||
INT8U isRemoteRequest(void); /* get RR flag when receive */
|
||||
INT8U isExtFrame(void); /* did we recieve 29bit frame? */
|
||||
INT8U isExtendedFrame(void); /* did we recieve 29bit frame? */
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user