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,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"
|
||||
|
||||
@@ -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
|
||||
@@ -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 = {
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "notification.h"
|
||||
#include "notification-messages-notes.h"
|
||||
#include "notification_messages_notes.h"
|
||||
#include <stddef.h>
|
||||
|
||||
/*********************************** Messages **********************************/
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include "notification.h"
|
||||
#include "notification-messages-notes.h"
|
||||
#include "notification_messages_notes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user