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,9 +1,9 @@
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include <storage/storage.h>
#include "notification.h"
#include "notification-messages.h"
#include "notification-app.h"
#include "notification_messages.h"
#include "notification_app.h"
#define TAG "NotificationSrv"

View File

@@ -1,7 +1,7 @@
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include "notification.h"
#include "notification-messages.h"
#include "notification_messages.h"
#define NOTIFICATION_LED_COUNT 3
#define NOTIFICATION_EVENT_COMPLETE 0x00000001U

View File

@@ -1,8 +1,8 @@
#include <furi.h>
#include <furi-hal.h>
#include <furi_hal.h>
#include "notification.h"
#include "notification-messages.h"
#include "notification-app.h"
#include "notification_messages.h"
#include "notification_app.h"
void notification_message(NotificationApp* app, const NotificationSequence* sequence) {
NotificationAppMessage m = {

View File

@@ -1,5 +1,5 @@
#include "notification.h"
#include "notification-messages-notes.h"
#include "notification_messages_notes.h"
#include <stddef.h>
/*********************************** Messages **********************************/

View File

@@ -1,6 +1,6 @@
#pragma once
#include "notification.h"
#include "notification-messages-notes.h"
#include "notification_messages_notes.h"
#ifdef __cplusplus
extern "C" {

View File

@@ -1,6 +1,6 @@
#include <furi.h>
#include "notification-app.h"
#include <gui/modules/variable-item-list.h>
#include "notification_app.h"
#include <gui/modules/variable_item_list.h>
#include <gui/view_dispatcher.h>
#define MAX_NOTIFICATION_SETTINGS 4