use a real macaddr on the nrf52

This commit is contained in:
geeksville
2020-04-23 16:55:25 -07:00
parent 2fdb75efdf
commit 8f3b33c84c
6 changed files with 84 additions and 17 deletions

View File

@@ -50,4 +50,9 @@ void setBluetoothEnable(bool on)
// heap_trace_dump();
}
}
}
void getMacAddr(uint8_t *dmac)
{
assert(esp_efuse_mac_get_default(dmac) == ESP_OK);
}