-
-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added LAN functionality #1735
Added LAN functionality #1735
Conversation
ESP_Code/Settings.h
Outdated
@@ -14,7 +14,7 @@ extern const char RIG_IDENTIFIER[] = "None"; | |||
|
|||
// Uncomment if you want to use LAN8720 | |||
// Select correct Board in ArduinoIDE!!! Really! | |||
#define USE_LAN | |||
// #define USE_LAN |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good that you made it off by default, but I'd move it from general settings to somewhere lower since it's something that a minority will use
Just moved down below Dashboard... I think it's "Networking" too... If you don't like that, pls give me an Idea for a good position... |
ESP_Code/ESP-Code.ino
Outdated
@@ -78,6 +82,8 @@ namespace { | |||
MINER_KEY | |||
); | |||
|
|||
static bool eth_connected = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be placed in an #ifdef USE_LAN block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's true. Just give me a second.
I'm not really good at programming yet - please bear with me
LAN functionality added using the ETH.h library.
Works great on OLIMEX boards...