mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-07 19:01:54 -07:00
Temp fix for mobile app pairing
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user