src/ENC28J60.c
static uint16_t erxrdpt_workaround(uint16_t next_packet_ptr,
                                   uint16_t rxst, uint16_t rxnd) {
    if ((next_packet_ptr == rxst) || ((next_packet_ptr - 1) > rxnd))
        return rxnd;
    return (next_packet_ptr - 1);
}
/*!
 * ERXRDPT need to be set always at odd addresses
 * (by ERRATA, issue #14)
 */
ERXRDPT need to be set always at odd addresses
(by ERRATA, issue #14)
ERXRDPT need to be set always at odd addresses ( by ERRATA issue #14 )
static uint16_t erxrdpt_workaround(uint16_t next_packet_ptr,
                                   uint16_t rxst, uint16_t rxnd) {
    if ((next_packet_ptr == rxst) || ((next_packet_ptr - 1) > rxnd))
        return rxnd;
    return (next_packet_ptr - 1);
}
static uint16_t erxrdpt_workaround ( uint16_t next_packet_ptr , uint16_t rxst , uint16_t rxnd ) { if ( ( next_packet_ptr == rxst ) || ( ( next_packet_ptr - 1 ) > rxnd ) ) return rxnd ; return ( next_packet_ptr - 1 ) ; }
ERXRDPT need to be set always at odd addresses
 (by ERRATA, issue #14)
ERXRDPT need to be set always at odd addresses ( by ERRATA issue #14 )