Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bootloader/F4/Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static uint8_t CMD_SIGNATURE[7] = {'B','T','L','D','C','M','D'};

/* Command: <Send next data pack> */
static uint8_t CMD_DATA_RECEIVED[8] = {'B','T','L','D','C','M','D',2};
uint8_t new_data_is_received = 0;
volatile uint8_t new_data_is_received = 0;
static uint8_t pageData[SECTOR_SIZE];
typedef void (*funct_ptr)(void);

Expand Down
2 changes: 1 addition & 1 deletion bootloader/F4/Src/usbd_custom_hid_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
/* USER CODE BEGIN PV */
/* Private variables ---------------------------------------------------------*/
extern uint8_t USB_RX_Buffer[CUSTOM_HID_EPOUT_SIZE];
extern uint8_t new_data_is_received;
extern volatile uint8_t new_data_is_received;
/* USER CODE END PV */

/** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
Expand Down