mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-21 04:11:48 +03:00
8aeafd8179
* hal-related task_is_isr_context function * furi_check implementation * change application to use furi_check * add second level of assertion * add TODO about ISR context * Applications: refactor furi_check and furi_assert. * Apploader: propwer widget usage. Menu: check on furi resource request. * refactor furi_check Co-authored-by: Aleksandr Kutuzov <aku@plooks.com> Co-authored-by: coreglitch <mail@s3f.ru>
31 lines
527 B
C
31 lines
527 B
C
#pragma once
|
|
|
|
#include "flipper.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "api-basic/furi.h"
|
|
//#include "api-basic/flapp.h"
|
|
#include "cmsis_os2.h"
|
|
#include "api-basic/valuemutex.h"
|
|
#include "api-basic/pubsub.h"
|
|
#include "api-basic/value-expanders.h"
|
|
#include "api-basic/event.h"
|
|
|
|
#include "api-basic/memmgr.h"
|
|
#include "api-basic/check.h"
|
|
|
|
#include "api-hal/api-gpio.h"
|
|
|
|
#include "gui/gui.h"
|
|
|
|
// tmeout for helper functions
|
|
#define FLIPPER_HELPER_TIMEOUT 10
|
|
|
|
bool init_flipper_api(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |