mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-01 01:27:48 +03:00
trying to fix load failure
This commit is contained in:
parent
c8e3d9b040
commit
b03cc8ddc3
@ -35,19 +35,19 @@ static const char* subbrute_menu_names[] = {
|
||||
[SubBruteAttackTotalCount] = "Total Count",
|
||||
};
|
||||
|
||||
bool subbrute_custom_event_callback(void* context, uint32_t event) {
|
||||
static bool subbrute_custom_event_callback(void* context, uint32_t event) {
|
||||
furi_assert(context);
|
||||
SubBruteState* instance = context;
|
||||
return scene_manager_handle_custom_event(instance->scene_manager, event);
|
||||
}
|
||||
|
||||
bool subbrute_back_event_callback(void* context) {
|
||||
static bool subbrute_back_event_callback(void* context) {
|
||||
furi_assert(context);
|
||||
SubBruteState* instance = context;
|
||||
return scene_manager_handle_back_event(instance->scene_manager);
|
||||
}
|
||||
|
||||
void subbrute_tick_event_callback(void* context) {
|
||||
static void subbrute_tick_event_callback(void* context) {
|
||||
furi_assert(context);
|
||||
SubBruteState* instance = context;
|
||||
scene_manager_handle_tick_event(instance->scene_manager);
|
||||
@ -217,6 +217,8 @@ const char* subbrute_get_menu_name(SubBruteAttacks index) {
|
||||
int32_t subbrute_app(void* p) {
|
||||
UNUSED(p);
|
||||
|
||||
FURI_LOG_I(TAG, "subbrute_app");
|
||||
|
||||
SubBruteState* instance = subbrute_alloc();
|
||||
#ifdef FURI_DEBUG
|
||||
FURI_LOG_I(TAG, "Starting subbrute_alloc done");
|
||||
|
@ -77,11 +77,4 @@ struct SubBruteState {
|
||||
void subbrute_show_loading_popup(void* context, bool show);
|
||||
void subbrute_text_input_callback(void* context);
|
||||
void subbrute_popup_closed_callback(void* context);
|
||||
const char* subbrute_get_menu_name(uint8_t index);
|
||||
|
||||
int32_t subbrute_app(void* p);
|
||||
SubBruteState* subbrute_alloc();
|
||||
void subbrute_free(SubBruteState* instance);
|
||||
bool subbrute_custom_event_callback(void* context, uint32_t event);
|
||||
bool subbrute_back_event_callback(void* context);
|
||||
void subbrute_tick_event_callback(void* context);
|
||||
const char* subbrute_get_menu_name(uint8_t index);
|
@ -127,7 +127,7 @@ SubBruteAttackView* subbrute_attack_view_alloc() {
|
||||
view_set_enter_callback(instance->view, subbrute_attack_view_enter);
|
||||
view_set_exit_callback(instance->view, subbrute_attack_view_exit);
|
||||
|
||||
instance->worker = subbrute_worker_alloc();
|
||||
//instance->worker = subbrute_worker_alloc();
|
||||
|
||||
return instance;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user