Skip to content
Snippets Groups Projects
Commit e6c2a750 authored by Alexander Mandera's avatar Alexander Mandera
Browse files

Fix selection of flash loader

parent 957c8803
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -654,8 +654,7 @@ static int LEWriteBinaryBlob( void * d, uint32_t address_to_write, uint32_t len,
wch_link_command( (libusb_device_handle *)dev, "\x81\x02\x01\x05", 4, 0, 0, 0 );
uint32_t mcu_series = iss->target_chip_type & 0xf00;
const uint8_t *bootloader = GetFlashLoader(mcu_series);
const uint8_t *bootloader = GetFlashLoader(iss->target_chip_type);
int pplace = 0;
for( pplace = 0; pplace < bootloader_len; pplace += iss->sector_size )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment