mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00: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
No EOL
290 B
C
19 lines
No EOL
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;
|
|
} |