[FL-1854] NEC42ext displaying (#796)

* Add correct key-reading asset
* IRDA: correct NEC42ext displaying
* IRDA App: correct vibro

There are no double vibro, but 1 vibro for any successful
new signal read, and 1 for sending just read signal.

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Albert Kharisov
2021-11-01 20:34:50 +04:00
committed by GitHub
parent 86bced5b2c
commit 63fe452746
7 changed files with 300 additions and 294 deletions

View File

@@ -211,10 +211,12 @@ void IrdaApp::notify_red_blink() {
notification_message(notification, &sequence_blink_red_10);
}
void IrdaApp::notify_space_blink() {
void IrdaApp::notify_sent_just_learnt() {
static const NotificationSequence sequence = {
&message_green_0,
&message_vibro_on,
&message_delay_50,
&message_vibro_off,
&message_green_255,
&message_do_not_reset,
NULL,
@@ -261,10 +263,6 @@ void IrdaApp::notify_blink_green() {
notification_message(notification, &sequence);
}
void IrdaApp::notify_double_vibro() {
notification_message(notification, &sequence_double_vibro);
}
void IrdaApp::notify_green_on() {
notification_message(notification, &sequence_set_only_green_255);
}