mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 12:42:30 +04:00
Merge branch 'ofw_dev' into dev
This commit is contained in:
@@ -161,7 +161,7 @@ static bool washcity_parse(const NfcDevice* device, FuriString* parsed_data) {
|
|||||||
|
|
||||||
furi_string_printf(
|
furi_string_printf(
|
||||||
parsed_data,
|
parsed_data,
|
||||||
"\e#WashCity\nCard number: %0*llX\nBalance: %lu.%02u USD",
|
"\e#WashCity\nCard number: %0*llX\nBalance: %lu.%02u EUR",
|
||||||
uid_len * 2,
|
uid_len * 2,
|
||||||
card_number,
|
card_number,
|
||||||
balance_usd,
|
balance_usd,
|
||||||
|
|||||||
@@ -28,8 +28,11 @@ bool nfc_scene_mf_ultralight_write_success_on_event(void* context, SceneManagerE
|
|||||||
|
|
||||||
if(event.type == SceneManagerEventTypeCustom) {
|
if(event.type == SceneManagerEventTypeCustom) {
|
||||||
if(event.event == NfcCustomEventViewExit) {
|
if(event.event == NfcCustomEventViewExit) {
|
||||||
|
bool was_saved =
|
||||||
|
scene_manager_has_previous_scene(instance->scene_manager, NfcSceneSavedMenu);
|
||||||
|
|
||||||
consumed = scene_manager_search_and_switch_to_previous_scene(
|
consumed = scene_manager_search_and_switch_to_previous_scene(
|
||||||
instance->scene_manager, NfcSceneSavedMenu);
|
instance->scene_manager, was_saved ? NfcSceneSavedMenu : NfcSceneReadSuccess);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return consumed;
|
return consumed;
|
||||||
|
|||||||
@@ -365,7 +365,7 @@ for template_file in project_template_dir.Dir(".vscode").glob("*"):
|
|||||||
"@UFBT_TOOLCHAIN_OPENOCD@": _path_as_posix(dist_env.WhereIs("openocd")),
|
"@UFBT_TOOLCHAIN_OPENOCD@": _path_as_posix(dist_env.WhereIs("openocd")),
|
||||||
"@UFBT_APP_DIR@": _path_as_posix(original_app_dir.abspath),
|
"@UFBT_APP_DIR@": _path_as_posix(original_app_dir.abspath),
|
||||||
"@UFBT_ROOT_DIR@": _path_as_posix(Dir("#").abspath),
|
"@UFBT_ROOT_DIR@": _path_as_posix(Dir("#").abspath),
|
||||||
"@UFBT_DEBUG_DIR@": dist_env["FBT_DEBUG_DIR"],
|
"@UFBT_DEBUG_DIR@": _path_as_posix(dist_env["FBT_DEBUG_DIR"].abspath),
|
||||||
"@UFBT_DEBUG_ELF_DIR@": _path_as_posix(
|
"@UFBT_DEBUG_ELF_DIR@": _path_as_posix(
|
||||||
dist_env["FBT_FAP_DEBUG_ELF_ROOT"].abspath
|
dist_env["FBT_FAP_DEBUG_ELF_ROOT"].abspath
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"configurationProvider": "ms-vscode.cpptools",
|
"configurationProvider": "ms-vscode.cpptools",
|
||||||
"cStandard": "gnu17",
|
"cStandard": "gnu17",
|
||||||
"cppStandard": "c++17"
|
"cppStandard": "c++17"
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"version": 4
|
"version": 4
|
||||||
}
|
}
|
||||||
@@ -1,3 +1,7 @@
|
|||||||
|
// This file is autogeneated by the ufbt.
|
||||||
|
// You can modify it, and it will not be overwritten if exists.
|
||||||
|
// Some paths are absolute, and will need to be updated if you move the project.
|
||||||
|
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
|
||||||
{
|
{
|
||||||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
||||||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
// This file is autogeneated by the ufbt.
|
||||||
|
// You can modify it, and it will not be overwritten if exists.
|
||||||
|
// Some paths are absolute, and will need to be updated if you move the project.
|
||||||
|
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
|
||||||
{
|
{
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
// This file is autogeneated by the ufbt.
|
||||||
|
// You can modify it, and it will not be overwritten if exists.
|
||||||
|
// Some paths are absolute, and will need to be updated if you move the project.
|
||||||
|
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
|
||||||
{
|
{
|
||||||
"cortex-debug.enableTelemetry": false,
|
"cortex-debug.enableTelemetry": false,
|
||||||
"cortex-debug.variableUseNaturalFormat": false,
|
"cortex-debug.variableUseNaturalFormat": false,
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
// This file is autogeneated by the ufbt.
|
||||||
|
// You can modify it, and it will not be overwritten if exists.
|
||||||
|
// Some paths are absolute, and will need to be updated if you move the project.
|
||||||
|
// To regenerate the file, delete it and run `ufbt vscode_dist` again.
|
||||||
{
|
{
|
||||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||||
// for the documentation about the tasks.json format
|
// for the documentation about the tasks.json format
|
||||||
|
|||||||
Reference in New Issue
Block a user