src/slcan_defines.h
/**
 * Initializes a frame struct
 * 
 * @param frame The frame to initialize
 * 
 * @return True if this is a full packet false otherwise
 */
Initializes a frame struct

@param frame The frame to initialize

@return True if this is a full packet false otherwise
Initializes a frame struct @param frame The frame to initialize @return True if this is a full packet false otherwise
static inline void initCANFrame(SLCANFrame *frame)
{
    if (frame != NULL) {
        memset(frame, 0, sizeof(SLCANFrame));
    }
}
static inline void initCANFrame ( SLCANFrame * frame ) { if ( frame != NULL ) { memset ( frame , 0 , sizeof ( SLCANFrame ) ) ; } }
Initializes a frame struct
Initializes a frame struct