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
-1
@@ -1,4 +1,4 @@
|
||||
#include "sd-notify.h"
|
||||
#include "sd_notify.h"
|
||||
|
||||
static const NotificationSequence sd_sequence_success = {
|
||||
&message_green_255,
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include <furi.h>
|
||||
#include <notification/notification-messages.h>
|
||||
#include <notification/notification_messages.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
+5
-5
@@ -1,9 +1,9 @@
|
||||
#include "fatfs.h"
|
||||
#include "../filesystem-api-internal.h"
|
||||
#include "storage-ext.h"
|
||||
#include <furi-hal.h>
|
||||
#include "sd-notify.h"
|
||||
#include <furi-hal-sd.h>
|
||||
#include "../filesystem_api_internal.h"
|
||||
#include "storage_ext.h"
|
||||
#include <furi_hal.h>
|
||||
#include "sd_notify.h"
|
||||
#include <furi_hal_sd.h>
|
||||
|
||||
typedef FIL SDFile;
|
||||
typedef DIR SDDir;
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include <furi.h>
|
||||
#include "../storage-glue.h"
|
||||
#include "../storage-sd-api.h"
|
||||
#include "../storage_glue.h"
|
||||
#include "../storage_sd_api.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
#include "storage-int.h"
|
||||
#include "storage_int.h"
|
||||
#include <lfs.h>
|
||||
#include <furi-hal.h>
|
||||
#include <furi_hal.h>
|
||||
|
||||
#define TAG "StorageInt"
|
||||
#define STORAGE_PATH "/int"
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include <furi.h>
|
||||
#include "../storage-glue.h"
|
||||
#include "../storage_glue.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
Reference in New Issue
Block a user