BadKB fix MAC address byte order

This commit is contained in:
Willy-JL
2023-06-18 22:36:05 +01:00
parent 42cb535739
commit a8a6aef712
5 changed files with 18 additions and 0 deletions

View File

@@ -346,6 +346,7 @@ static bool ducky_set_bt_id(BadKbScript* bad_kb, const char* line) {
return false;
}
}
furi_hal_bt_reverse_mac_addr(cfg->bt_mac);
strlcpy(cfg->bt_name, line + mac_len, BAD_KB_NAME_LEN);
FURI_LOG_D(WORKER_TAG, "set bt id: %s", line);