Skip to content

Commit

Permalink
esp32/modmachine.c: esp_efuse_read_mac --> esp_efuse_mac_get_default
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSurly committed May 17, 2017
1 parent f480744 commit 6586af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp32/modmachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_0(machine_reset_obj, machine_reset);

STATIC mp_obj_t machine_unique_id(void) {
uint8_t chipid[6];
esp_efuse_read_mac(chipid);
esp_efuse_mac_get_default(chipid);
return mp_obj_new_bytes(chipid, 6);
}
STATIC MP_DEFINE_CONST_FUN_OBJ_0(machine_unique_id_obj, machine_unique_id);
Expand Down

0 comments on commit 6586af9

Please sign in to comment.