SubGhz: fix GUI ReadRAW and add new man (#843)

* Notification: add sequence_single_vibro
* SubGhz: optimizing the performance of the GUI ReadRAW
* SubGhz: full highlighting of the default filename on save
* SubGhz: add man Leopard, Faraon, Reff, ZX-750, Back_SL-B9, fix syntax

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Skorpionm
2021-11-26 18:01:03 +04:00
committed by GitHub
parent f52e9fc578
commit 7c0943e736
11 changed files with 47 additions and 30 deletions

View File

@@ -309,7 +309,14 @@ const NotificationSequence sequence_blink_white_100 = {
NULL,
};
// General
//General
const NotificationSequence sequence_single_vibro = {
&message_vibro_on,
&message_delay_100,
&message_vibro_off,
NULL,
};
const NotificationSequence sequence_double_vibro = {
&message_vibro_on,
&message_delay_100,

View File

@@ -89,6 +89,7 @@ extern const NotificationSequence sequence_blink_magenta_100;
extern const NotificationSequence sequence_blink_white_100;
// General
extern const NotificationSequence sequence_single_vibro;
extern const NotificationSequence sequence_double_vibro;
extern const NotificationSequence sequence_success;
extern const NotificationSequence sequence_error;

View File

@@ -19,13 +19,6 @@ static const NotificationSequence sequence_note_c = {
NULL,
};
static const NotificationSequence sequence_vibro = {
&message_vibro_on,
&message_delay_100,
&message_vibro_off,
NULL,
};
#define BACKLIGHT_COUNT 5
const char* const backlight_text[BACKLIGHT_COUNT] = {
"0%",
@@ -150,7 +143,7 @@ static void vibro_changed(VariableItem* item) {
variable_item_set_current_value_text(item, vibro_text[index]);
app->notification->settings.vibro_on = vibro_value[index];
notification_message(app->notification, &sequence_vibro);
notification_message(app->notification, &sequence_single_vibro);
}
static uint32_t notification_app_settings_exit(void* context) {