1
0
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:
Marian Buschsieweke 2020-07-24 11:32:20 +02:00
parent dc21084ab5
commit a7cf50eb03
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -46,7 +46,7 @@ static void _isr(netdev_t *netdev) {
void isr_eth(void)
{
volatile unsigned tmp = ETH->DMASR;
unsigned tmp = ETH->DMASR;
if ((tmp & ETH_DMASR_TS)) {
ETH->DMASR = ETH_DMASR_TS | ETH_DMASR_NIS;