mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
drivers/stm32_eth: Code style fixes
- Drop incorrect use of `volatile` - Fix missing spaces and indention
This commit is contained in:
parent
dc21084ab5
commit
a7cf50eb03
@ -46,7 +46,7 @@ static void _isr(netdev_t *netdev) {
|
|||||||
|
|
||||||
void isr_eth(void)
|
void isr_eth(void)
|
||||||
{
|
{
|
||||||
volatile unsigned tmp = ETH->DMASR;
|
unsigned tmp = ETH->DMASR;
|
||||||
|
|
||||||
if ((tmp & ETH_DMASR_TS)) {
|
if ((tmp & ETH_DMASR_TS)) {
|
||||||
ETH->DMASR = ETH_DMASR_TS | ETH_DMASR_NIS;
|
ETH->DMASR = ETH_DMASR_TS | ETH_DMASR_NIS;
|
||||||
|
Loading…
Reference in New Issue
Block a user