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,7 +1,7 @@
#include <cli/cli.h>
#include <furi.h>
#include <rpc/rpc.h>
#include <furi-hal.h>
#include <furi_hal.h>
typedef struct {
Cli* cli;

View File

@@ -1,6 +1,6 @@
#pragma once
#include "rpc.h"
#include "storage/filesystem-api-defines.h"
#include "storage/filesystem_api_defines.h"
#include <pb.h>
#include <pb_decode.h>
#include <pb_encode.h>

View File

@@ -6,7 +6,7 @@
#include "rpc/rpc.h"
#include "rpc_i.h"
#include "storage.pb.h"
#include "storage/filesystem-api-defines.h"
#include "storage/filesystem_api_defines.h"
#include "storage/storage.h"
#include <stdint.h>
#include <lib/toolbox/md5.h>

View File

@@ -1,9 +1,9 @@
#include "flipper.pb.h"
#include "rpc_i.h"
#include <furi-hal.h>
#include <furi_hal.h>
#include <power/power_service/power.h>
#include <notification/notification-messages.h>
#include <notification/notification_messages.h>
void rpc_system_system_ping_process(const PB_Main* msg_request, void* context) {
furi_assert(msg_request);