Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbrodude6119 committed Jun 30, 2023
1 parent de9e8d0 commit 6988b2c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 41 deletions.
1 change: 0 additions & 1 deletion evil_portal_app.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "evil_portal_app_i.h"
#include "helpers/evil_portal_speaker.h"
#include "helpers/evil_portal_storage.h"

#include <furi.h>
Expand Down
19 changes: 0 additions & 19 deletions helpers/evil_portal_speaker.c

This file was deleted.

4 changes: 0 additions & 4 deletions helpers/evil_portal_speaker.h

This file was deleted.

16 changes: 0 additions & 16 deletions helpers/evil_portal_storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,11 @@
#include <storage/storage.h>
#include <string.h>

#define EVIL_PORTAL_SETTINGS_FILE_VERSION 1
#define PORTAL_FILE_DIRECTORY_PATH EXT_PATH("apps_data/evil_portal")
#define EVIL_PORTAL_SETTINGS_SAVE_PATH \
PORTAL_FILE_DIRECTORY_PATH "/evil_portal.conf"
#define EVIL_PORTAL_SETTINGS_SAVE_PATH_TMP EVIL_PORTAL_SETTINGS_SAVE_PATH ".tmp"
#define EVIL_PORTAL_INDEX_SAVE_PATH PORTAL_FILE_DIRECTORY_PATH "/index.html"
#define EVIL_PORTAL_INDEX_SAVE_PATH_TMP EVIL_PORTAL_INDEX_SAVE_PATH ".tmp"
#define EVIL_PORTAL_AP_SAVE_PATH PORTAL_FILE_DIRECTORY_PATH "/ap.txt"
#define EVIL_PORTAL_AP_SAVE_PATH_TMP EVIL_PORTAL_AP_SAVE_PATH ".tmp"
#define EVIL_PORTAL_LOG_SAVE_PATH PORTAL_FILE_DIRECTORY_PATH "/logs"
#define EVIL_PORTAL_LOG_SAVE_PATH_TMP EVIL_PORTAL_LOG_SAVE_PATH ".tmp"
#define EVIL_PORTAL_SETTINGS_HEADER "EvilPortal Config File"
#define EVIL_PORTAL_SETTINGS_KEY_PORTAL "PORTAL"
#define EVIL_PORTAL_SETTINGS_KEY_HAPTIC "Haptic"
#define EVIL_PORTAL_SETTINGS_KEY_LED "Led"
#define EVIL_PORTAL_SETTINGS_KEY_SPEAKER "Speaker"
#define EVIL_PORTAL_SETTINGS_KEY_SAVE_SETTINGS "SaveSettings"
#define EVIL_PORTAL_BUF_SIZE 4092

// void captive_portal_save_settings(void* context);
// void captive_portal_read_settings(void* context);
void evil_portal_read_index_html(void *context);
void evil_portal_read_ap_name(void *context);
void write_logs(char* portal_logs);
Expand Down
1 change: 0 additions & 1 deletion scenes/evil_portal_scene_start.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "../evil_portal_app_i.h"
#include "../helpers/evil_portal_speaker.h"

// For each command, define whether additional arguments are needed
// (enabling text input to fill them out), and whether the console
Expand Down

0 comments on commit 6988b2c

Please sign in to comment.