Add main
This commit is contained in:
		
							parent
							
								
									c394652d00
								
							
						
					
					
						commit
						dfb46c9359
					
				| 
						 | 
					@ -106,6 +106,13 @@ void GPIOF_interruptHandler(void) {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					int main(void) {
 | 
				
			||||||
 | 
					    GPIO_PORT_F_init(); // GPIO initialization function
 | 
				
			||||||
 | 
					    systick_setting(); // SysTick setup
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    while (1) {
 | 
				
			||||||
 | 
					        // Main loop does nothing; everything is handled in interrupts
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue