buhhe / VolvoPenta-N2K_Interface

GNU General Public License v3.0
13 stars 7 forks source link

Fixed a call to a deprecated function to obtain the MAC address #4

Closed ThomasKeil closed 4 months ago

ThomasKeil commented 4 months ago

In release 4.0 of the Espressif IoT Development Framework the already deprecated function system_efuse_read_mac() was removed. The new function to use is esp_efuse_mac_get_default() This fixes it.

See https://github.com/espressif/esp-idf/commit/bdeaf138c4c43314ce24309f800c366c2b754a45#diff-3c4f43c10183d428b17c5c895be8612d9e20f741bbaed37e28a8bf0bb8c7e009L261