mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-26 23:05:05 +03:00
3ba1738acd
* interrupt manager * init interrupt manager * add usage to lf-rfid app * check ready flag * move interrupts code to target hal * fix path
19 lines
290 B
C
19 lines
290 B
C
#include "flipper_v2.h"
|
|
|
|
bool init_flipper_api(void) {
|
|
bool no_errors = true;
|
|
|
|
if(!furi_init()) {
|
|
no_errors = false;
|
|
}
|
|
|
|
if(!gpio_api_init()) {
|
|
no_errors = false;
|
|
}
|
|
|
|
if(!api_interrupt_init()) {
|
|
no_errors = false;
|
|
}
|
|
|
|
return no_errors;
|
|
} |