code style aligned with furi lib
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user