Skip to content

Commit 509d8fb

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 4766d75 commit 509d8fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libraries/Ethernet/src/ETH.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ esp_err_t ETHClass::eth_spi_write(uint32_t cmd, uint32_t addr, const void *data,
446446
#endif
447447

448448
bool ETHClass::beginSPI(
449-
eth_phy_type_t type, int32_t phy_addr, uint8_t* mac_addr_p, int cs, int irq, int rst,
449+
eth_phy_type_t type, int32_t phy_addr, uint8_t *mac_addr_p, int cs, int irq, int rst,
450450
#if ETH_SPI_SUPPORTS_CUSTOM
451451
SPIClass *spi,
452452
#endif

libraries/Ethernet/src/ETH.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,14 @@ class ETHClass : public NetworkInterface {
201201

202202
static bool ethDetachBus(void *bus_pointer);
203203
bool beginSPI(
204-
eth_phy_type_t type, int32_t phy_addr, uint8_t* mac_addr, int cs, int irq, int rst,
204+
eth_phy_type_t type, int32_t phy_addr, uint8_t *mac_addr, int cs, int irq, int rst,
205205
#if ETH_SPI_SUPPORTS_CUSTOM
206206
SPIClass *spi,
207207
#endif
208208
int sck, int miso, int mosi, spi_host_device_t spi_host, uint8_t spi_freq_mhz
209209
);
210210

211-
friend class EthernetClass; // to access beginSPI
211+
friend class EthernetClass; // to access beginSPI
212212
};
213213

214214
extern ETHClass ETH;

0 commit comments

Comments
 (0)