From 928d57b050296566604291fe4961d47d67860cdb Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Mon, 13 Feb 2023 22:06:01 +0300 Subject: [PATCH] Small fixes and updates --- CHANGELOG.md | 2 ++ applications/plugins/subbrute | 2 +- applications/plugins/totp/cli/commands/move/move.c | 4 ++-- applications/plugins/totp/cli/commands/timezone/timezone.c | 2 +- applications/plugins/totp/services/config/config.c | 2 +- applications/plugins/totp/totp_app.c | 4 ++++ 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f50308661..96f3c65d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ * SubGHz: **Nice ON2E (Nice One)** support (by @assasinfil | PR #335) * SubGHz: Remove 467.75 From freq analyzer since it has too much noise (Frequency is still can be used, just excluded from FA to avoid false detections) * Archive and FileBrowser: **Fixed more navigation issues** (by @Willy-JL | PR #334) +* Plugins -> SubGHz Bruteforcer: Fix Linear Delta 3 repeats (now its more stable and we will be sure signal is received correctly) +* Plugins: Updated TOTP (Authenticator) [(by akopachov)](https://github.com/akopachov/flipper-zero_authenticator) * OFW: **Fix Cyfral & Metakom emulation (My temp fix removed and proper fix from OFW applied)** * OFW: BadUSB: disable CDC mode, USB mode switch fix * OFW: Updater visual fixes diff --git a/applications/plugins/subbrute b/applications/plugins/subbrute index 94d417e6a..819b53293 160000 --- a/applications/plugins/subbrute +++ b/applications/plugins/subbrute @@ -1 +1 @@ -Subproject commit 94d417e6a40e9621b2b289eb9e2858e6f3e2cb6a +Subproject commit 819b532937b8920504cd54385e25389c199285f9 diff --git a/applications/plugins/totp/cli/commands/move/move.c b/applications/plugins/totp/cli/commands/move/move.c index 9d47134e5..e2929f153 100644 --- a/applications/plugins/totp/cli/commands/move/move.c +++ b/applications/plugins/totp/cli/commands/move/move.c @@ -34,10 +34,10 @@ void totp_cli_command_move_docopt_usage() { void totp_cli_command_move_docopt_options() { TOTP_CLI_PRINTF(" " DOCOPT_OPTION( TOTP_CLI_COMMAND_MOVE_ARG_NEW_NAME_PREFIX, - DOCOPT_ARGUMENT(TOTP_CLI_COMMAND_MOVE_ARG_NEW_NAME)) " New token name.\r\n"); + DOCOPT_ARGUMENT(TOTP_CLI_COMMAND_MOVE_ARG_NEW_NAME)) " New token name\r\n"); TOTP_CLI_PRINTF(" " DOCOPT_OPTION( TOTP_CLI_COMMAND_MOVE_ARG_NEW_INDEX_PREFIX, - DOCOPT_ARGUMENT(TOTP_CLI_COMMAND_MOVE_ARG_NEW_INDEX)) " New token index.\r\n"); + DOCOPT_ARGUMENT(TOTP_CLI_COMMAND_MOVE_ARG_NEW_INDEX)) " New token index\r\n"); } void totp_cli_command_move_handle(PluginState* plugin_state, FuriString* args, Cli* cli) { diff --git a/applications/plugins/totp/cli/commands/timezone/timezone.c b/applications/plugins/totp/cli/commands/timezone/timezone.c index 537cf8a4a..4a737f6ef 100644 --- a/applications/plugins/totp/cli/commands/timezone/timezone.c +++ b/applications/plugins/totp/cli/commands/timezone/timezone.c @@ -20,7 +20,7 @@ void totp_cli_command_timezone_docopt_usage() { void totp_cli_command_timezone_docopt_arguments() { TOTP_CLI_PRINTF(" " TOTP_CLI_COMMAND_TIMEZONE_ARG_TIMEZONE - " Timezone offset in hours to be set.\r\n"); + " Timezone offset in hours to be set\r\n"); } void totp_cli_command_timezone_handle(PluginState* plugin_state, FuriString* args, Cli* cli) { diff --git a/applications/plugins/totp/services/config/config.c b/applications/plugins/totp/services/config/config.c index 27616316c..034ed925e 100644 --- a/applications/plugins/totp/services/config/config.c +++ b/applications/plugins/totp/services/config/config.c @@ -196,7 +196,7 @@ static TotpConfigFileOpenResult totp_open_config_file(Storage* storage, FlipperF return TotpConfigFileOpenSuccess; } -TotpConfigFileUpdateResult +static TotpConfigFileUpdateResult totp_config_file_save_new_token_i(FlipperFormat* file, const TokenInfo* token_info) { TotpConfigFileUpdateResult update_result; do { diff --git a/applications/plugins/totp/totp_app.c b/applications/plugins/totp/totp_app.c index f10837814..f791e99de 100644 --- a/applications/plugins/totp/totp_app.c +++ b/applications/plugins/totp/totp_app.c @@ -7,6 +7,7 @@ #include #include #include +#include #include "services/config/config.h" #include "types/plugin_state.h" #include "types/token_info.h" @@ -151,6 +152,9 @@ int32_t totp_app() { return 253; } + // Affecting dolphin level + DOLPHIN_DEED(DolphinDeedPluginStart); + // Set system callbacks ViewPort* view_port = view_port_alloc(); view_port_draw_callback_set(view_port, render_callback, &state_mutex);