Add header needed for USB flashing mode on exit when needed to avoid user having to include the header themselves.
This commit is contained in:
		
				
					committed by
					
						
						Graham Sanderson
					
				
			
			
				
	
			
			
			
						parent
						
							b40185d925
						
					
				
				
					commit
					40d2b5fdd4
				
			@ -22,6 +22,10 @@
 | 
				
			|||||||
#include "pico/time.h"
 | 
					#include "pico/time.h"
 | 
				
			||||||
#include "pico/printf.h"
 | 
					#include "pico/printf.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if PICO_ENTER_USB_BOOT_ON_EXIT
 | 
				
			||||||
 | 
					#include "pico/bootrom.h"
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef PICO_NO_RAM_VECTOR_TABLE
 | 
					#ifndef PICO_NO_RAM_VECTOR_TABLE
 | 
				
			||||||
#define PICO_NO_RAM_VECTOR_TABLE 0
 | 
					#define PICO_NO_RAM_VECTOR_TABLE 0
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user