diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2022-09-01 21:27:05 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2022-09-05 14:27:25 -0400 |
commit | ba38897a357b285f05cc3444227345a47b97590d (patch) | |
tree | a9e2160db605dbabdec7fec2461acd36a60fac78 /src/lpc176x/internal.h | |
parent | f6a166cb67c2f11cc5cf3ab7399bdff4274a29c1 (diff) | |
download | kutter-ba38897a357b285f05cc3444227345a47b97590d.tar.gz kutter-ba38897a357b285f05cc3444227345a47b97590d.tar.xz kutter-ba38897a357b285f05cc3444227345a47b97590d.zip |
lpc176x: Move bootloader_request() from usbserial.c to main.c
Move bootloader_request() function so that it can be used when not
using USB.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/lpc176x/internal.h')
-rw-r--r-- | src/lpc176x/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lpc176x/internal.h b/src/lpc176x/internal.h index 3adb7e19..23587011 100644 --- a/src/lpc176x/internal.h +++ b/src/lpc176x/internal.h @@ -23,5 +23,6 @@ int is_enabled_pclock(uint32_t pclk); void enable_pclock(uint32_t pclk); uint32_t get_pclock_frequency(uint32_t pclk); void gpio_peripheral(uint32_t gpio, int func, int pullup); +void usb_disconnect(void); #endif // internal.h |