feat: Support for Flysky ST16 (#6071)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com> Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: Malte Langermann <malte@langermann.net>
This commit is contained in:
co-authored by
raphaelcoeffic
Peter Feerick
philmoz
Malte Langermann
parent
94965c1d09
commit
f82c3dea8c
@@ -147,6 +147,7 @@ static uint8_t* skipUF2Extensions(uint8_t* data) {
|
||||
return (uint8_t*)ptr;
|
||||
}
|
||||
|
||||
#if defined(STM32) && !defined(SIMU)
|
||||
void writeUF2FirmwareVersion(void* block)
|
||||
{
|
||||
UF2_Block* uf2 = (UF2_Block*)block;
|
||||
@@ -209,3 +210,4 @@ void writeUF2RebootBlock(void* block)
|
||||
uint32_t reboot_addr = BOOTLOADER_ADDRESS;
|
||||
memcpy(end_data, &reboot_addr, sizeof(reboot_addr));
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user