[Taranis X9E] Bootloader updated according to Mike's suggestion
This commit is contained in:
@@ -108,7 +108,7 @@ uint32_t isFirmwareStart(const void * buffer)
|
|||||||
const uint32_t * block = (const uint32_t *)buffer;
|
const uint32_t * block = (const uint32_t *)buffer;
|
||||||
|
|
||||||
#if defined(REV9E)
|
#if defined(REV9E)
|
||||||
if ((block[0] & 0xFFFC0000) != 0x10000000) {
|
if ((block[0] & 0xFFFC0000) != 0x10000000 && (block[0] & 0xFFFC0000) != 0x20000000) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if ((block[1] & 0xFFF00000) != 0x08000000) {
|
if ((block[1] & 0xFFF00000) != 0x08000000) {
|
||||||
|
|||||||
Reference in New Issue
Block a user