Skip to content

ext_flg incorrect, isExtendedFrame( ) is incorrect !! #38

Description

@dreamer1048576

As title,
No one/progress will clean the ext_flg, so the function isExtendedFrame( ) is INCORRECT !
After you send a ext frame, all isExtendedFrame() will return ALWAYS =1 , even you had receive a classic Standard Frame data .
And no one can call clearMsg( ) .

    uint8_t ext ;
// ... ...
              ext = CAN.isExtendedFrame();
              Serial.print("CAN.isExtendedFrame:=");   Serial.println(ext);

... After sending a ext frame :

CAN.isExtendedFrame:=1
ID=000007ff,8,0011223344556677
CAN.isExtendedFrame:=1
ID=000007ff,8,0011223344556677

Actually, the id=0x7ff is a Standard Frame !

--
Copy From : DFRobot/DFRobot_MCP2515#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions