Skip to content

Commit

Permalink
Small fixes and updates
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Feb 13, 2023
1 parent 641934f commit 928d57b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion applications/plugins/subbrute
Submodule subbrute updated 1 files
+1 −1 subbrute_protocols.c
4 changes: 2 additions & 2 deletions applications/plugins/totp/cli/commands/move/move.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion applications/plugins/totp/cli/commands/timezone/timezone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion applications/plugins/totp/services/config/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 4 additions & 0 deletions applications/plugins/totp/totp_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <flipper_format/flipper_format.h>
#include <notification/notification.h>
#include <notification/notification_messages.h>
#include <dolphin/dolphin.h>
#include "services/config/config.h"
#include "types/plugin_state.h"
#include "types/token_info.h"
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 928d57b

Please sign in to comment.