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:
@@ -1,5 +1,5 @@
|
||||
#include <furi.h>
|
||||
#include <furi-hal.h>
|
||||
#include <furi_hal.h>
|
||||
#include <applications/cli/cli.h>
|
||||
#include <lib/toolbox/args.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "bt_debug_app.h"
|
||||
#include <furi-hal-bt.h>
|
||||
#include <furi_hal_bt.h>
|
||||
|
||||
#define TAG "BtDebugApp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "bt_carrier_test.h"
|
||||
#include "bt_test.h"
|
||||
#include "bt_test_types.h"
|
||||
#include "furi-hal-bt.h"
|
||||
#include "furi_hal_bt.h"
|
||||
|
||||
struct BtCarrierTest {
|
||||
BtTest* bt_test;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "bt_packet_test.h"
|
||||
#include "bt_test.h"
|
||||
#include "bt_test_types.h"
|
||||
#include "furi-hal-bt.h"
|
||||
#include "furi_hal_bt.h"
|
||||
|
||||
struct BtPacketTest {
|
||||
BtTest* bt_test;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "bt_hid.h"
|
||||
#include <furi-hal-bt.h>
|
||||
#include <applications/notification/notification-messages.h>
|
||||
#include <furi_hal_bt.h>
|
||||
#include <applications/notification/notification_messages.h>
|
||||
|
||||
#define TAG "BtHidApp"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "bt_hid_keynote.h"
|
||||
#include <furi.h>
|
||||
#include <furi-hal-bt-hid.h>
|
||||
#include <furi-hal-usb-hid.h>
|
||||
#include <furi_hal_bt_hid.h>
|
||||
#include <furi_hal_usb_hid.h>
|
||||
#include <gui/elements.h>
|
||||
|
||||
struct BtHidKeynote {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "bt_hid_media.h"
|
||||
#include <furi.h>
|
||||
#include <furi-hal-bt-hid.h>
|
||||
#include <furi-hal-usb-hid.h>
|
||||
#include <furi_hal_bt_hid.h>
|
||||
#include <furi_hal_usb_hid.h>
|
||||
#include <gui/elements.h>
|
||||
|
||||
struct BtHidMedia {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "battery_service.h"
|
||||
#include "bt_keys_storage.h"
|
||||
|
||||
#include <applications/notification/notification-messages.h>
|
||||
#include <applications/notification/notification_messages.h>
|
||||
|
||||
#define TAG "BtSrv"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "bt.h"
|
||||
|
||||
#include <furi.h>
|
||||
#include <furi-hal.h>
|
||||
#include <furi_hal.h>
|
||||
|
||||
#include <gui/gui.h>
|
||||
#include <gui/view_port.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "bt_keys_storage.h"
|
||||
#include <furi.h>
|
||||
#include <file-worker.h>
|
||||
#include <file_worker.h>
|
||||
|
||||
#define BT_KEYS_STORAGE_TAG "bt keys storage"
|
||||
#define BT_KEYS_STORAGE_PATH "/int/bt.keys"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "bt_settings.h"
|
||||
#include <furi.h>
|
||||
#include <file-worker.h>
|
||||
#include <file_worker.h>
|
||||
|
||||
#define TAG "BtSettings"
|
||||
#define BT_SETTINGS_PATH "/int/bt.settings"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <gui/view_dispatcher.h>
|
||||
#include <gui/scene_manager.h>
|
||||
|
||||
#include <gui/modules/variable-item-list.h>
|
||||
#include <gui/modules/variable_item_list.h>
|
||||
|
||||
#include "../bt_settings.h"
|
||||
#include "scenes/bt_settings_scene.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "../bt_settings_app.h"
|
||||
#include "furi-hal-bt.h"
|
||||
#include "furi_hal_bt.h"
|
||||
|
||||
enum BtSetting {
|
||||
BtSettingOff,
|
||||
|
||||
Reference in New Issue
Block a user