mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-09 20:00:40 +00:00
Updated part14-spi-ethernet driver file for consistency
This commit is contained in:
parent
0cd81619d0
commit
ee4d0141f9
1 changed files with 2 additions and 0 deletions
|
@ -1171,6 +1171,8 @@ void ENC_Transmit(ENC_HandleTypeDef *handle)
|
||||||
enc_waitwhilegreg(ENC_EIR, EIR_TXIF | EIR_TXERIF, 0);
|
enc_waitwhilegreg(ENC_EIR, EIR_TXIF | EIR_TXERIF, 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
HAL_Delay(20); // Added by AGB - fixes weird timing bug
|
||||||
|
|
||||||
/* Stop transmission */
|
/* Stop transmission */
|
||||||
enc_bfcgreg(ENC_ECON1, ECON1_TXRTS);
|
enc_bfcgreg(ENC_ECON1, ECON1_TXRTS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue