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:
Adam Boardman 2021-01-25 15:00:11 +00:00 committed by Graham Sanderson
parent 7b97967fe4
commit 9ff6b24cce

View File

@ -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