Temp fix for mobile app pairing

This commit is contained in:
Willy-JL
2023-05-05 23:24:38 +01:00
parent c341cc128c
commit 49df6a89b5
@@ -124,7 +124,11 @@ static void furi_hal_version_set_name(const char* name) {
}
uint32_t company_id = LL_FLASH_GetSTCompanyID();
uint32_t device_id = LL_FLASH_GetDeviceID();
// uint32_t device_id = LL_FLASH_GetDeviceID();
// Somehow some new flippers return 0x27 instead of 0x26
// Mobile apps expects it to return 0x26 (and clearly STM too)
// Temporarely hardcoded until cause / fix is found
uint32_t device_id = 0x26;
furi_hal_version.ble_mac[0] = (uint8_t)(udn & 0x000000FF);
furi_hal_version.ble_mac[1] = (uint8_t)((udn & 0x0000FF00) >> 8);
furi_hal_version.ble_mac[2] = (uint8_t)((udn & 0x00FF0000) >> 16);