mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bootloader: remove duplicate region overlap logic
(MINOR CHANGE)
This commit is contained in:
parent
4988b26e38
commit
c8d967417c
@ -29,6 +29,7 @@ static inline bool bootloader_util_regions_overlap(
|
|||||||
const intptr_t start1, const intptr_t end1,
|
const intptr_t start1, const intptr_t end1,
|
||||||
const intptr_t start2, const intptr_t end2)
|
const intptr_t start2, const intptr_t end2)
|
||||||
{
|
{
|
||||||
return (end1 > start2 && end2 > start1) ||
|
assert(end1>start1);
|
||||||
!(end1 <= start2 || end2 <= start1);
|
assert(end2>start2);
|
||||||
|
return (end1 > start2 && end2 > start1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user