arduino/WireBus/src/WireBus.cpp
/*************************************
 *
 *  Checks received buffer for valid packet
 *
 * ***********************************/
Checks received buffer for valid packet
Checks received buffer for valid packet
uint8_t check_buffer(uint8_t crc,  wirebus_packet *p)
{
        p->cmd = WIREBUS_CMD_NONE;
        return 0;
}
uint8_t check_buffer ( uint8_t crc , wirebus_packet * p ) { p -> cmd = WIREBUS_CMD_NONE ; return 0 ; }
Checks received buffer for valid packet
Checks received buffer for valid packet
//        if( calc_crc(ts.buffer,ts.size) == crc) //        { //                p->cmd = EXTRACT_COMMAND(ts.buffer[0]); //                return 1; //        }