* 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;
 | 
						|
} |