diff options
author | Skorpionm <85568270+Skorpionm@users.noreply.github.com> | 2021-09-02 00:05:00 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 00:05:00 +0300 |
commit | e17336498db48de0898313aca9099985b91bd89e (patch) | |
tree | 2ad1fedde8432714b1fa230c23f913d29b8ba494 /applications/accessor | |
parent | 3ed26e61eb75f715f4b46e6104c9b49057159594 (diff) |
[FL-1756, FL-1769, FL-1776, FL-1759] Gui: input events complementary V3, refactoring. SubGhz: read/emulate fixes. Cleanup. (#684)
* Gui: move rotation logic to ViewPort, replace delayed View switch in ViewDispatcher with event filtering and redirection to previous view.
* SubGhz: add function description
* Gui, Input: add event id to input events.
* SubGhz: fix "crashing on ?"
* SubGhz: add icon scanning
* SubGhz: updated interface read scene, updated interface config scene
* Assets: update subghz assets
* SubGhz: replaced the picture in the read scene, changed the paths to additional files
* SubGhz: fix deadlock in timer callback
* SubGhz: fix icon read scene
* SubGhz: fix icon read scene
* SubGhz: fix duble text transmitter scene
* SubGhz: correct spelling. Gui: bigger queue for ViewDispatcher.
* SubGhz: fix creation and transmission of dynamic code without the presence of a manufactory key
* SubGhz: fix keelog, setting a name in the absence of a manufactory key
* SubGhz: fix load bad keelog key
* Format sources
* Furi: remove garbage from core. GpioTester: fix memory leak and cleanup
* Accessor: remove obsolete notification code
* MusicPlayer: remove input event injection
* Input: rename id to sequence
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
Diffstat (limited to 'applications/accessor')
-rw-r--r-- | applications/accessor/accessor-app.cpp | 12 | ||||
-rw-r--r-- | applications/accessor/accessor-app.h | 2 |
2 files changed, 0 insertions, 14 deletions
diff --git a/applications/accessor/accessor-app.cpp b/applications/accessor/accessor-app.cpp index f7446b55..b462ec79 100644 --- a/applications/accessor/accessor-app.cpp +++ b/applications/accessor/accessor-app.cpp @@ -35,7 +35,6 @@ AccessorApp::AccessorApp() : onewire_master{&ibutton_gpio} { furi_hal_power_insomnia_enter(); notification = static_cast<NotificationApp*>(furi_record_open("notification")); - notify_init(); furi_hal_power_enable_otg(); } @@ -104,17 +103,6 @@ AccessorApp::Scene AccessorApp::get_previous_scene() { /***************************** NOTIFY *******************************/ -void AccessorApp::notify_init() { - GPIO_InitTypeDef GPIO_InitStruct = {0}; - - GPIO_InitStruct.Pin = PB3_Pin; - GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - GPIO_InitStruct.Pull = GPIO_NOPULL; - GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - GPIO_InitStruct.Alternate = GPIO_AF1_TIM2; - HAL_GPIO_Init(PB3_GPIO_Port, &GPIO_InitStruct); -} - void AccessorApp::notify_green_blink() { notification_message(notification, &sequence_blink_green_10); } diff --git a/applications/accessor/accessor-app.h b/applications/accessor/accessor-app.h index 32af88ee..daa16d7f 100644 --- a/applications/accessor/accessor-app.h +++ b/applications/accessor/accessor-app.h @@ -29,9 +29,7 @@ public: bool switch_to_previous_scene(uint8_t count = 1); Scene get_previous_scene(); - void notify_init(); void notify_green_blink(); - void notify_success(); char* get_text_store(); |