diff --git a/applications/external/airmouse/air_mouse.c b/applications/external/airmouse/air_mouse.c index 7a90e49f1..3bb7253b5 100644 --- a/applications/external/airmouse/air_mouse.c +++ b/applications/external/airmouse/air_mouse.c @@ -1,7 +1,6 @@ #include "air_mouse.h" #include -#include #include "tracking/imu/imu.h" @@ -146,7 +145,6 @@ int32_t air_mouse_app(void* p) { return -1; } - DOLPHIN_DEED(DolphinDeedPluginStart); view_dispatcher_run(app->view_dispatcher); imu_end(); diff --git a/applications/external/dtmf_dolphin/dtmf_dolphin.c b/applications/external/dtmf_dolphin/dtmf_dolphin.c index c1b10defa..732b22ef8 100644 --- a/applications/external/dtmf_dolphin/dtmf_dolphin.c +++ b/applications/external/dtmf_dolphin/dtmf_dolphin.c @@ -2,6 +2,7 @@ #include #include +#include static bool dtmf_dolphin_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -82,8 +83,9 @@ int32_t dtmf_dolphin_app(void* p) { UNUSED(p); DTMFDolphinApp* app = app_alloc(); + DOLPHIN_DEED(DolphinDeedPluginStart); view_dispatcher_run(app->view_dispatcher); app_free(app); return 0; -} \ No newline at end of file +} diff --git a/applications/external/esp8266_deauth/esp8266_deauth.c b/applications/external/esp8266_deauth/esp8266_deauth.c index fc165b932..3bf11928f 100644 --- a/applications/external/esp8266_deauth/esp8266_deauth.c +++ b/applications/external/esp8266_deauth/esp8266_deauth.c @@ -6,6 +6,7 @@ #include #include #include +#include //#include //#include //#include @@ -328,6 +329,7 @@ int32_t esp8266_deauth_app(void* p) { SWiFiDeauthApp* app = malloc(sizeof(SWiFiDeauthApp)); + DOLPHIN_DEED(DolphinDeedPluginStart); esp8266_deauth_app_init(app); furi_hal_gpio_init_simple(app->m_GpioButtons.pinButtonUp, GpioModeOutputPushPull); diff --git a/applications/external/flipfrid/flipfrid.c b/applications/external/flipfrid/flipfrid.c index 4f28be7b1..ff52ab160 100644 --- a/applications/external/flipfrid/flipfrid.c +++ b/applications/external/flipfrid/flipfrid.c @@ -5,6 +5,7 @@ #include "scene/flipfrid_scene_select_field.h" #include "scene/flipfrid_scene_run_attack.h" #include "scene/flipfrid_scene_load_custom_uids.h" +#include #define RFIDFUZZER_APP_FOLDER "/ext/lrfid/rfidfuzzer" @@ -117,6 +118,7 @@ int32_t flipfrid_start(void* p) { FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(FlipFridEvent)); FlipFridState* flipfrid_state = flipfrid_alloc(); + DOLPHIN_DEED(DolphinDeedPluginStart); flipfrid_state->mutex = furi_mutex_alloc(FuriMutexTypeNormal); if(!flipfrid_state->mutex) { FURI_LOG_E(TAG, "cannot create mutex\r\n"); @@ -268,4 +270,4 @@ int32_t flipfrid_start(void* p) { flipfrid_free(flipfrid_state); return 0; -} \ No newline at end of file +} diff --git a/applications/external/ibtn_fuzzer/ibtnfuzzer.c b/applications/external/ibtn_fuzzer/ibtnfuzzer.c index c5f2a5f7c..04d18886f 100644 --- a/applications/external/ibtn_fuzzer/ibtnfuzzer.c +++ b/applications/external/ibtn_fuzzer/ibtnfuzzer.c @@ -5,6 +5,7 @@ #include "scene/ibtnfuzzer_scene_select_field.h" #include "scene/ibtnfuzzer_scene_run_attack.h" #include "scene/ibtnfuzzer_scene_load_custom_uids.h" +#include #define IBTNFUZZER_APP_FOLDER "/ext/ibtnfuzzer" @@ -119,6 +120,7 @@ int32_t ibtnfuzzer_start(void* p) { FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(iBtnFuzzerEvent)); iBtnFuzzerState* ibtnfuzzer_state = ibtnfuzzer_alloc(); + DOLPHIN_DEED(DolphinDeedPluginStart); ibtnfuzzer_state->mutex = furi_mutex_alloc(FuriMutexTypeNormal); if(!ibtnfuzzer_state->mutex) { FURI_LOG_E(TAG, "cannot create mutex\r\n"); @@ -264,4 +266,4 @@ int32_t ibtnfuzzer_start(void* p) { ibtnfuzzer_free(ibtnfuzzer_state); return 0; -} \ No newline at end of file +} diff --git a/applications/external/ir_remote/infrared_remote_app.c b/applications/external/ir_remote/infrared_remote_app.c index 69e5ee083..7056fae89 100644 --- a/applications/external/ir_remote/infrared_remote_app.c +++ b/applications/external/ir_remote/infrared_remote_app.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include @@ -160,6 +161,7 @@ static void app_input_callback(InputEvent* input_event, void* ctx) { int32_t infrared_remote_app(void* p) { UNUSED(p); FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(InputEvent)); + DOLPHIN_DEED(DolphinDeedPluginStart); // App button string IRApp* app = malloc(sizeof(IRApp)); diff --git a/applications/external/mfkey32/mfkey32.c b/applications/external/mfkey32/mfkey32.c index ac08d2ddc..48d6aa64f 100644 --- a/applications/external/mfkey32/mfkey32.c +++ b/applications/external/mfkey32/mfkey32.c @@ -21,6 +21,7 @@ #include #include #include +#include #define MF_CLASSIC_DICT_FLIPPER_PATH EXT_PATH("nfc/assets/mf_classic_dict.nfc") #define MF_CLASSIC_DICT_USER_PATH EXT_PATH("nfc/assets/mf_classic_dict_user.nfc") @@ -1189,6 +1190,7 @@ void start_mfkey32_thread(ProgramState* program_state) { int32_t mfkey32_main() { FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(PluginEvent)); + DOLPHIN_DEED(DolphinDeedPluginStart); ProgramState* program_state = malloc(sizeof(ProgramState)); mfkey32_state_init(program_state); diff --git a/applications/external/mousejacker/mousejacker.c b/applications/external/mousejacker/mousejacker.c index 9ef23983f..cc34d9485 100644 --- a/applications/external/mousejacker/mousejacker.c +++ b/applications/external/mousejacker/mousejacker.c @@ -11,6 +11,7 @@ #include #include "mousejacker_ducky.h" #include +#include #define TAG "mousejacker" #define LOGITECH_MAX_CHANNEL 85 @@ -286,6 +287,7 @@ void start_mjthread(PluginState* plugin_state) { int32_t mousejacker_app(void* p) { UNUSED(p); FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(PluginEvent)); + DOLPHIN_DEED(DolphinDeedPluginStart); PluginState* plugin_state = malloc(sizeof(PluginState)); mousejacker_state_init(plugin_state); diff --git a/applications/external/nfc_magic/nfc_magic.c b/applications/external/nfc_magic/nfc_magic.c index 1805f35ed..0a015ec77 100644 --- a/applications/external/nfc_magic/nfc_magic.c +++ b/applications/external/nfc_magic/nfc_magic.c @@ -1,4 +1,5 @@ #include "nfc_magic_i.h" +#include bool nfc_magic_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -160,6 +161,7 @@ int32_t nfc_magic_app(void* p) { UNUSED(p); NfcMagic* nfc_magic = nfc_magic_alloc(); + DOLPHIN_DEED(DolphinDeedPluginStart); scene_manager_next_scene(nfc_magic->scene_manager, NfcMagicSceneStart); view_dispatcher_run(nfc_magic->view_dispatcher); diff --git a/applications/external/nrf24scan/nrf24scan.c b/applications/external/nrf24scan/nrf24scan.c index d66e7caf6..1b0a42808 100644 --- a/applications/external/nrf24scan/nrf24scan.c +++ b/applications/external/nrf24scan/nrf24scan.c @@ -12,6 +12,7 @@ #include #include #include +#include #define TAG "nrf24scan" #define VERSION "2.2" @@ -1331,6 +1332,7 @@ static void render_callback(Canvas* const canvas, void* ctx) { int32_t nrf24scan_app(void* p) { UNUSED(p); APP = malloc(sizeof(Nrf24Scan)); + DOLPHIN_DEED(DolphinDeedPluginStart); APP->event_queue = furi_message_queue_alloc(8, sizeof(PluginEvent)); APP->plugin_state = malloc(sizeof(PluginState)); APP->plugin_state->mutex = furi_mutex_alloc(FuriMutexTypeNormal); diff --git a/applications/external/nrfsniff/nrfsniff.c b/applications/external/nrfsniff/nrfsniff.c index 56bc33d05..1c2ea543f 100644 --- a/applications/external/nrfsniff/nrfsniff.c +++ b/applications/external/nrfsniff/nrfsniff.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include @@ -314,6 +315,7 @@ static void start_sniffing() { int32_t nrfsniff_app(void* p) { UNUSED(p); + DOLPHIN_DEED(DolphinDeedPluginStart); uint8_t address[5] = {0}; uint32_t start = 0; hexlify(address, 5, top_address); diff --git a/applications/external/picopass/picopass.c b/applications/external/picopass/picopass.c index c1428b2fb..09283b080 100644 --- a/applications/external/picopass/picopass.c +++ b/applications/external/picopass/picopass.c @@ -1,4 +1,5 @@ #include "picopass_i.h" +#include #define TAG "PicoPass" @@ -191,6 +192,7 @@ int32_t picopass_app(void* p) { UNUSED(p); picopass_migrate_from_old_folder(); + DOLPHIN_DEED(DolphinDeedPluginStart); Picopass* picopass = picopass_alloc(); scene_manager_next_scene(picopass->scene_manager, PicopassSceneStart); @@ -200,4 +202,4 @@ int32_t picopass_app(void* p) { picopass_free(picopass); return 0; -} \ No newline at end of file +} diff --git a/applications/external/pocsag_pager/pocsag_pager_app.c b/applications/external/pocsag_pager/pocsag_pager_app.c index f5e989fba..d4b12c466 100644 --- a/applications/external/pocsag_pager/pocsag_pager_app.c +++ b/applications/external/pocsag_pager/pocsag_pager_app.c @@ -4,6 +4,7 @@ #include #include #include "protocols/protocol_items.h" +#include static bool pocsag_pager_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -198,6 +199,7 @@ int32_t pocsag_pager_app(void* p) { UNUSED(p); POCSAGPagerApp* pocsag_pager_app = pocsag_pager_app_alloc(); + DOLPHIN_DEED(DolphinDeedPluginStart); view_dispatcher_run(pocsag_pager_app->view_dispatcher); pocsag_pager_app_free(pocsag_pager_app); diff --git a/applications/external/protoview/app.c b/applications/external/protoview/app.c index 678c9d75f..2d3acccac 100644 --- a/applications/external/protoview/app.c +++ b/applications/external/protoview/app.c @@ -2,6 +2,7 @@ * See the LICENSE file for information about the license. */ #include "app.h" +#include RawSamplesBuffer *RawSamples, *DetectedSamples; extern const SubGhzProtocolRegistry protoview_protocol_registry; @@ -258,6 +259,7 @@ static bool keyboard_view_dispatcher_navigation_callback(void* ctx) { int32_t protoview_app_entry(void* p) { UNUSED(p); ProtoViewApp* app = protoview_app_alloc(); + DOLPHIN_DEED(DolphinDeedPluginStart); /* Create a timer. We do data analysis in the callback. */ FuriTimer* timer = furi_timer_alloc(timer_callback, FuriTimerTypePeriodic, app); diff --git a/applications/external/sentry_safe/sentry_safe.c b/applications/external/sentry_safe/sentry_safe.c index 789b43f2c..a0667b686 100644 --- a/applications/external/sentry_safe/sentry_safe.c +++ b/applications/external/sentry_safe/sentry_safe.c @@ -2,6 +2,7 @@ #include #include #include +#include #include @@ -84,6 +85,7 @@ int32_t sentry_safe_app(void* p) { UNUSED(p); FuriMessageQueue* event_queue = furi_message_queue_alloc(8, sizeof(Event)); + DOLPHIN_DEED(DolphinDeedPluginStart); SentryState* sentry_state = malloc(sizeof(SentryState)); @@ -166,4 +168,4 @@ int32_t sentry_safe_app(void* p) { free(sentry_state); return 0; -} \ No newline at end of file +} diff --git a/applications/external/spectrum_analyzer/spectrum_analyzer.c b/applications/external/spectrum_analyzer/spectrum_analyzer.c index d38c6bf23..7148ad92b 100644 --- a/applications/external/spectrum_analyzer/spectrum_analyzer.c +++ b/applications/external/spectrum_analyzer/spectrum_analyzer.c @@ -5,6 +5,7 @@ #include #include #include "spectrum_analyzer.h" +#include #include #include "spectrum_analyzer_worker.h" @@ -400,6 +401,7 @@ void spectrum_analyzer_free(SpectrumAnalyzer* instance) { int32_t spectrum_analyzer_app(void* p) { UNUSED(p); + DOLPHIN_DEED(DolphinDeedPluginStart); SpectrumAnalyzer* spectrum_analyzer = spectrum_analyzer_alloc(); InputEvent input; @@ -523,4 +525,4 @@ int32_t spectrum_analyzer_app(void* p) { spectrum_analyzer_free(spectrum_analyzer); return 0; -} \ No newline at end of file +} diff --git a/applications/external/subghz_bruteforcer/subbrute.c b/applications/external/subghz_bruteforcer/subbrute.c index e0ecb31c3..a5b971b73 100644 --- a/applications/external/subghz_bruteforcer/subbrute.c +++ b/applications/external/subghz_bruteforcer/subbrute.c @@ -1,6 +1,7 @@ #include "subbrute_i.h" #include "subbrute_custom_event.h" #include "scenes/subbrute_scene.h" +#include #define TAG "SubBruteApp" @@ -173,6 +174,7 @@ void subbrute_popup_closed_callback(void* context) { int32_t subbrute_app(void* p) { UNUSED(p); + DOLPHIN_DEED(DolphinDeedPluginStart); SubBruteState* instance = subbrute_alloc(); view_dispatcher_attach_to_gui( instance->view_dispatcher, instance->gui, ViewDispatcherTypeFullscreen); @@ -196,4 +198,4 @@ int32_t subbrute_app(void* p) { subbrute_free(instance); return 0; -} \ No newline at end of file +} diff --git a/applications/external/subghz_playlist/playlist.c b/applications/external/subghz_playlist/playlist.c index e17526b84..345b19927 100644 --- a/applications/external/subghz_playlist/playlist.c +++ b/applications/external/subghz_playlist/playlist.c @@ -17,6 +17,7 @@ #include #include +#include #include "playlist_file.h" #include "canvas_helper.h" @@ -696,6 +697,7 @@ void playlist_free(Playlist* app) { int32_t playlist_app(void* p) { UNUSED(p); + DOLPHIN_DEED(DolphinDeedPluginStart); // create playlist folder { diff --git a/applications/external/subghz_remote/subghz_remote_app.c b/applications/external/subghz_remote/subghz_remote_app.c index 120b7d4ed..df4b8465a 100644 --- a/applications/external/subghz_remote/subghz_remote_app.c +++ b/applications/external/subghz_remote/subghz_remote_app.c @@ -23,6 +23,7 @@ #include #include #include +#include #define SUBREMOTEMAP_FOLDER "/ext/subghz/remote" #define SUBREMOTEMAP_EXTENSION ".txt" @@ -804,6 +805,7 @@ void subghz_remote_free(SubGHzRemote* app, bool with_subghz) { int32_t subghz_remote_app(void* p) { UNUSED(p); + DOLPHIN_DEED(DolphinDeedPluginStart); SubGHzRemote* app = subghz_remote_alloc(); app->file_path = furi_string_alloc(); diff --git a/applications/external/totp/totp_app.c b/applications/external/totp/totp_app.c index 74ec52f2c..e5c101e5f 100644 --- a/applications/external/totp/totp_app.c +++ b/applications/external/totp/totp_app.c @@ -7,7 +7,6 @@ #include #include #include -#include #include "features_config.h" #include "services/config/config.h" #include "types/plugin_state.h" @@ -169,9 +168,6 @@ int32_t totp_app() { return 253; } - // Affecting dolphin level - DOLPHIN_DEED(DolphinDeedPluginStart); - // Set system callbacks ViewPort* view_port = view_port_alloc(); view_port_draw_callback_set(view_port, render_callback, plugin_state); diff --git a/applications/external/wifi_deauther/wifi_deauther_app.c b/applications/external/wifi_deauther/wifi_deauther_app.c index 28fb28d88..2c9ea17fc 100644 --- a/applications/external/wifi_deauther/wifi_deauther_app.c +++ b/applications/external/wifi_deauther/wifi_deauther_app.c @@ -3,6 +3,7 @@ #include #include #include +#include static bool wifi_deauther_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -24,6 +25,7 @@ static void wifi_deauther_app_tick_event_callback(void* context) { WifideautherApp* wifi_deauther_app_alloc() { WifideautherApp* app = malloc(sizeof(WifideautherApp)); + DOLPHIN_DEED(DolphinDeedPluginStart); app->gui = furi_record_open(RECORD_GUI); diff --git a/applications/external/wifi_marauder_companion/wifi_marauder_app.c b/applications/external/wifi_marauder_companion/wifi_marauder_app.c index 7563d927a..7369fa10f 100644 --- a/applications/external/wifi_marauder_companion/wifi_marauder_app.c +++ b/applications/external/wifi_marauder_companion/wifi_marauder_app.c @@ -2,6 +2,7 @@ #include #include +#include static bool wifi_marauder_app_custom_event_callback(void* context, uint32_t event) { furi_assert(context); @@ -23,6 +24,7 @@ static void wifi_marauder_app_tick_event_callback(void* context) { WifiMarauderApp* wifi_marauder_app_alloc() { WifiMarauderApp* app = malloc(sizeof(WifiMarauderApp)); + DOLPHIN_DEED(DolphinDeedPluginStart); app->gui = furi_record_open(RECORD_GUI); app->dialogs = furi_record_open(RECORD_DIALOGS);