1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

Avoid deprecated function

This commit is contained in:
free-x
2021-11-19 16:13:15 +01:00
parent 50192d712e
commit 75b7aab909

View File

@@ -543,7 +543,7 @@ void setup() {
NMEA2000.SetN2kCANReceiveFrameBufSize(250);
NMEA2000.SetN2kCANSendFrameBufSize(250);
esp_efuse_read_mac(chipid);
esp_efuse_mac_get_default(chipid);
for (int i = 0; i < 6; i++) id += (chipid[i] << (7 * i));
// Set product information