code style aligned with furi lib

This commit is contained in:
Ken Van Hoeylandt
2023-12-27 14:50:54 +01:00
parent f4088f5762
commit 34a067c2b1
36 changed files with 159 additions and 173 deletions
@@ -1,23 +1,21 @@
#pragma once
#include "nb_app.h"
#include "nb_hardware.h"
#ifdef __cplusplus
extern "C" {
#endif
// Forward declaration
typedef struct nb_hardware nb_hardware_t;
typedef void (*NbOnSystemStart)(NbHardware* hardware);
typedef void (*nb_on_system_start_)(nb_hardware_t* hardware);
extern const nb_app_t* const FLIPPER_SERVICES[];
extern const NbApp* const FLIPPER_SERVICES[];
extern const size_t FLIPPER_SERVICES_COUNT;
extern const nb_app_t* const FLIPPER_SYSTEM_APPS[];
extern const NbApp* const FLIPPER_SYSTEM_APPS[];
extern const size_t FLIPPER_SYSTEM_APPS_COUNT;
extern const nb_on_system_start_ FLIPPER_ON_SYSTEM_START[];
extern const NbOnSystemStart FLIPPER_ON_SYSTEM_START[];
extern const size_t FLIPPER_ON_SYSTEM_START_COUNT;
#ifdef __cplusplus