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:
@@ -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,
|
||||
|
@@ -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;
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user