Ignore:
Timestamp:
Aug 13, 2019, 9:05:13 PM (7 years ago)
Author:
markus
Message:

Skip Ethernet-Handling if not present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Arduino/projects/OT_boiler/OT_boiler.ino

    r12 r14  
    6060void maintainEthernet ()
    6161{
     62  // Check for Ethernet hardware present
     63  if (Ethernet.hardwareStatus() == EthernetNoHardware) {
     64    return;
     65  }
    6266  byte rc = Ethernet.maintain();
    6367  switch (rc) {
Note: See TracChangeset for help on using the changeset viewer.