hpgl_xy/stm32f103t8u6-bootloader/src/usb_com.h
2021-04-04 20:33:45 +02:00

14 lines
No EOL
396 B
C

#pragma once
#include <stdbool.h>
#include <string.h>
#include "stm32f103x6.h"
#include "usb.h"
void USB_HandleEP2Out(void);
// Parses a setup packet with a vendor request type and handle the command it
// contains. Returns false if the bootloader should exit and start the
// application, true if the bootloader should continue execution.
bool USB_HandleCommand(const USB_SetupPacket_t *sp);