mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 20:49:49 +04:00
Set proper led color for detect and read scenes
This commit is contained in:
@@ -162,7 +162,7 @@ static void nfc_protocol_support_scene_read_on_enter(NfcApp* instance) {
|
|||||||
// Start poller with the appropriate callback
|
// Start poller with the appropriate callback
|
||||||
nfc_protocol_support[protocol]->scene_read.on_enter(instance);
|
nfc_protocol_support[protocol]->scene_read.on_enter(instance);
|
||||||
|
|
||||||
nfc_blink_detect_start(instance);
|
nfc_blink_read_start(instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool nfc_protocol_support_scene_read_on_event(NfcApp* instance, SceneManagerEvent event) {
|
static bool nfc_protocol_support_scene_read_on_event(NfcApp* instance, SceneManagerEvent event) {
|
||||||
|
|||||||
@@ -223,7 +223,7 @@ void nfc_text_store_clear(NfcApp* nfc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void nfc_blink_read_start(NfcApp* nfc) {
|
void nfc_blink_read_start(NfcApp* nfc) {
|
||||||
notification_message(nfc->notifications, &sequence_blink_start_cyan);
|
notification_message(nfc->notifications, &sequence_blink_start_yellow);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nfc_blink_emulate_start(NfcApp* nfc) {
|
void nfc_blink_emulate_start(NfcApp* nfc) {
|
||||||
@@ -231,7 +231,7 @@ void nfc_blink_emulate_start(NfcApp* nfc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void nfc_blink_detect_start(NfcApp* nfc) {
|
void nfc_blink_detect_start(NfcApp* nfc) {
|
||||||
notification_message(nfc->notifications, &sequence_blink_start_yellow);
|
notification_message(nfc->notifications, &sequence_blink_start_cyan);
|
||||||
}
|
}
|
||||||
|
|
||||||
void nfc_blink_stop(NfcApp* nfc) {
|
void nfc_blink_stop(NfcApp* nfc) {
|
||||||
|
|||||||
Reference in New Issue
Block a user