Merge branch 'master' into dev
Added pin reservation for Ethernet. Added SSD1305 I2C display type.
This commit is contained in:
18
wled00/wled_ethernet.h
Normal file
18
wled00/wled_ethernet.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef WLED_ETHERNET_H
|
||||
#define WLED_ETHERNET_H
|
||||
|
||||
#ifdef WLED_USE_ETHERNET
|
||||
// settings for various ethernet boards
|
||||
typedef struct EthernetSettings {
|
||||
uint8_t eth_address;
|
||||
int eth_power;
|
||||
int eth_mdc;
|
||||
int eth_mdio;
|
||||
eth_phy_type_t eth_type;
|
||||
eth_clock_mode_t eth_clk_mode;
|
||||
} ethernet_settings;
|
||||
|
||||
extern ethernet_settings ethernetBoards[];
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user