mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
change MIP MAC to LAA
This commit is contained in:
1 parent
f8445a4c85
commit
9a341c9032
7 files changed
+7
-7
No files matched your search
@@ -72,7 +72,7 @@ int main(void) {
|
||||
// For static configuration, specify IP/mask/GW in network byte order
|
||||
struct mip_driver_stm32 driver_data = {.mdc_cr = 4}; // See driver_stm32.h
|
||||
struct mip_if mif = {
|
||||
.mac = {0, 0, 1, 2, 3, 5},
|
||||
.mac = {2, 0, 1, 2, 3, 5},
|
||||
.use_dhcp = true,
|
||||
.driver = &mip_driver_stm32,
|
||||
.driver_data = &driver_data,
|
||||
|
||||
@@ -49,7 +49,7 @@ static void server(void *args) {
|
||||
ethernet_init();
|
||||
struct mip_driver_stm32 driver_data = {.mdc_cr = 4}; // See driver_stm32.h
|
||||
struct mip_if mif = {
|
||||
.mac = {0, 0, 1, 2, 3, 5},
|
||||
.mac = {2, 0, 1, 2, 3, 5},
|
||||
.use_dhcp = true,
|
||||
.driver = &mip_driver_stm32,
|
||||
.driver_data = &driver_data,
|
||||
|
||||
@@ -72,7 +72,7 @@ int main(void) {
|
||||
// For static configuration, specify IP/mask/GW in network byte order
|
||||
struct mip_driver_stm32 driver_data = {.mdc_cr = 4}; // See driver_stm32.h
|
||||
struct mip_if mif = {
|
||||
.mac = {0, 0, 1, 2, 3, 5},
|
||||
.mac = {2, 0, 1, 2, 3, 5},
|
||||
.use_dhcp = true,
|
||||
.driver = &mip_driver_stm32,
|
||||
.driver_data = &driver_data,
|
||||
|
||||
Reference in new issue
Block a user