Naming and coding style convention, new linter tool. (#945)

* Makefile, Scripts: new linter
* About: remove ID from IC
* Firmware: remove double define for DIVC/DIVR
* Scripts: check folder names too. Docker: replace syntax check with make lint.
* Reformat Sources and Migrate to new file naming convention
* Docker: symlink clang-format-12 to clang-format
* Add coding style guide
This commit is contained in:
あく
2022-01-05 19:10:18 +03:00
committed by GitHub
parent c98e54da10
commit 389ff92cc1
899 changed files with 379245 additions and 373421 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#include <furi-hal.h>
#include <furi_hal.h>
typedef struct SubGhzFrequencyAnalyzerWorker SubGhzFrequencyAnalyzerWorker;

View File

@@ -1,6 +1,6 @@
#include "../subghz_i.h"
#include <lib/toolbox/random_name.h>
#include "file-worker.h"
#include "file_worker.h"
#include "../helpers/subghz_custom_event.h"
#include <lib/subghz/protocols/subghz_protocol_raw.h>

View File

@@ -1,7 +1,7 @@
#include "subghz_cli.h"
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <stream_buffer.h>
#include <lib/toolbox/args.h>
@@ -12,7 +12,7 @@
#include "helpers/subghz_chat.h"
#include <notification/notification-messages.h>
#include <notification/notification_messages.h>
#define SUBGHZ_FREQUENCY_RANGE_STR \
"299999755...348000000 or 386999938...464000000 or 778999847...928000000"

View File

@@ -2,10 +2,10 @@
#include <math.h>
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <input/input.h>
#include <gui/elements.h>
#include <notification/notification-messages.h>
#include <notification/notification_messages.h>
#include <lib/flipper_file/flipper_file.h>
#include "../notification/notification.h"
#include "views/subghz_receiver.h"

View File

@@ -11,11 +11,11 @@
#include "views/subghz_test_packet.h"
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <gui/gui.h>
#include <dialogs/dialogs.h>
#include <gui/scene_manager.h>
#include <notification/notification-messages.h>
#include <notification/notification_messages.h>
#include <gui/view_dispatcher.h>
#include <gui/modules/submenu.h>
#include <gui/modules/popup.h>
@@ -30,7 +30,7 @@
#include <lib/subghz/protocols/subghz_protocol_common.h>
#include "subghz_history.h"
#include <gui/modules/variable-item-list.h>
#include <gui/modules/variable_item_list.h>
#define SUBGHZ_TEXT_STORE_SIZE 40

View File

@@ -3,9 +3,9 @@
#include <math.h>
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <input/input.h>
#include <notification/notification-messages.h>
#include <notification/notification_messages.h>
#include <lib/subghz/protocols/subghz_protocol_princeton.h>
#include "../helpers/subghz_frequency_analyzer_worker.h"

View File

@@ -3,7 +3,7 @@
#include <math.h>
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <input/input.h>
#include <gui/elements.h>
#include <lib/subghz/protocols/subghz_protocol_princeton.h>

View File

@@ -4,7 +4,7 @@
#include <math.h>
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <input/input.h>
struct SubghzTestCarrier {

View File

@@ -4,7 +4,7 @@
#include <math.h>
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <input/input.h>
#include <toolbox/level_duration.h>
#include <lib/subghz/protocols/subghz_protocol_princeton.h>

View File

@@ -4,9 +4,9 @@
#include <math.h>
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <input/input.h>
#include <notification/notification-messages.h>
#include <notification/notification_messages.h>
#include <lib/subghz/protocols/subghz_protocol_princeton.h>
#define TAG "SubGhzTestStatic"