Updated part14-spi-ethernet driver file for consistency

This commit is contained in:
Adam Greenwood-Byrne 2022-04-08 21:57:33 +01:00
parent 0cd81619d0
commit ee4d0141f9

View file

@ -1171,6 +1171,8 @@ void ENC_Transmit(ENC_HandleTypeDef *handle)
enc_waitwhilegreg(ENC_EIR, EIR_TXIF | EIR_TXERIF, 0);
#endif
HAL_Delay(20); // Added by AGB - fixes weird timing bug
/* Stop transmission */
enc_bfcgreg(ENC_ECON1, ECON1_TXRTS);