Fix naming, run fbt format

This commit is contained in:
MX 2023-07-11 14:53:54 +03:00
parent 44baa84cf6
commit b41ffd887d
No known key found for this signature in database
GPG Key ID: 7CCC66B7DBDD1C83
30 changed files with 24 additions and 24 deletions

View File

@ -3,14 +3,14 @@ App(
apptype=FlipperAppType.EXTERNAL,
cdefines=["APP_CAMERA_SUITE"],
entry_point="camera_suite_app",
fap_author="Cody Tolene",
fap_author="Cody Tolene",
fap_category="GPIO",
fap_description="A camera suite application for the Flipper Zero ESP32-CAM module.",
fap_icon="icons/camera-suite.png",
fap_description="A camera suite application for the Flipper Zero ESP32-CAM module.",
fap_icon="icons/camera_suite.png",
fap_libs=["assets"],
fap_weburl="https://github.com/CodyTolene/Flipper-Zero-Cam",
fap_weburl="https://github.com/CodyTolene/Flipper-Zero-Cam",
name="[ESP32] Camera Suite",
order=1,
requires=["gui", "storage"],
stack_size=8 * 1024
)
stack_size=8 * 1024,
)

View File

@ -1,4 +1,4 @@
#include "camera-suite.h"
#include "camera_suite.h"
#include <stdlib.h>
bool camera_suite_custom_event_callback(void* context, uint32_t event) {

View File

@ -1,5 +1,5 @@
#include "camera_suite_haptic.h"
#include "../camera-suite.h"
#include "../camera_suite.h"
void camera_suite_play_happy_bump(void* context) {
CameraSuite* app = context;

View File

@ -1,5 +1,5 @@
#include "camera_suite_led.h"
#include "../camera-suite.h"
#include "../camera_suite.h"
void camera_suite_led_set_rgb(void* context, int red, int green, int blue) {
CameraSuite* app = context;
@ -34,5 +34,5 @@ void camera_suite_led_reset(void* context) {
notification_message(app->notification, &sequence_reset_green);
notification_message(app->notification, &sequence_reset_blue);
//Delay, prevent removal from RAM before LED value set.
furi_thread_flags_wait(0, FuriFlagWaitAny, 300);
furi_thread_flags_wait(0, FuriFlagWaitAny, 300);
}

View File

@ -1,5 +1,5 @@
#include "camera_suite_speaker.h"
#include "../camera-suite.h"
#include "../camera_suite.h"
#define NOTE_INPUT 587.33f

View File

@ -2,11 +2,11 @@
#include <string.h>
#include <storage/storage.h>
#include <flipper_format/flipper_format_i.h>
#include "../camera-suite.h"
#include "../camera_suite.h"
#define BOILERPLATE_SETTINGS_FILE_VERSION 1
#define CONFIG_FILE_DIRECTORY_PATH EXT_PATH("apps_data/camera-suite")
#define BOILERPLATE_SETTINGS_SAVE_PATH CONFIG_FILE_DIRECTORY_PATH "/camera-suite.conf"
#define CONFIG_FILE_DIRECTORY_PATH EXT_PATH("apps_data/camera_suite")
#define BOILERPLATE_SETTINGS_SAVE_PATH CONFIG_FILE_DIRECTORY_PATH "/camera_suite.conf"
#define BOILERPLATE_SETTINGS_SAVE_PATH_TMP BOILERPLATE_SETTINGS_SAVE_PATH ".tmp"
#define BOILERPLATE_SETTINGS_HEADER "Camera Suite Config File"
#define BOILERPLATE_SETTINGS_KEY_ORIENTATION "Orientation"

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include "../helpers/camera_suite_custom_event.h"
#include "../views/camera_suite_view_guide.h"

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
enum SubmenuIndex {
/** Atkinson Dithering Algorithm. */

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include <lib/toolbox/value_index.h>
// Camera orientation, in degrees.

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include "../helpers/camera_suite_custom_event.h"
#include "../views/camera_suite_view_start.h"

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include "../helpers/camera_suite_custom_event.h"
#include "../views/camera_suite_view_style_1.h"

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include "../helpers/camera_suite_custom_event.h"
#include "../helpers/camera_suite_haptic.h"
#include "../helpers/camera_suite_led.h"

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include <furi.h>
#include <furi_hal.h>
#include <input/input.h>

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include <furi.h>
#include <furi_hal.h>
#include <input/input.h>

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include <furi.h>
#include <furi_hal.h>
#include <input/input.h>

View File

@ -1,4 +1,4 @@
#include "../camera-suite.h"
#include "../camera_suite.h"
#include <furi.h>
#include <furi_hal.h>
#include <input/input.h>