RobotSimulation/pick_and_place/ROS/src/niryo_one_ros/mcp_can_rpi/src/mcp_can_rpi.cpp
void MCP_CAN::mcp2515_reset(void)                                      
{
    unsigned char cmd[1] = { MCP_RESET }; 
    spiTransfer(1, cmd);

    nanosleep((const struct timespec[]){{0, 10000L}}, NULL);
}
/*********************************************************************************************************
** Function name:           mcp2515_reset
** Descriptions:            Performs a software reset
*********************************************************************************************************/
Function name:           mcp2515_reset
Descriptions:            Performs a software reset
Function name : mcp2515_reset Descriptions : Performs a software reset
void MCP_CAN::mcp2515_reset(void)                                      
{
    unsigned char cmd[1] = { MCP_RESET }; 
    spiTransfer(1, cmd);
    nanosleep((const struct timespec[]){{0, 10000L}}, NULL);
}
void MCP_CAN :: mcp2515_reset ( void ) { unsigned char cmd [ 1 ] = { MCP_RESET } ; spiTransfer ( 1 , cmd ) ; nanosleep ( ( const struct timespec [ ] ) { { 0 , 10000L } } , NULL ) ; }
Function name:           mcp2515_reset
Descriptions:            Performs a software reset
Function name : mcp2515_reset Descriptions : Performs a software reset