mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
Merge pull request #11032 from daleckystepan/gcc10
Support for GCC 11.2.1
This commit is contained in:
commit
73934cccc0
17 changed files with 27 additions and 29 deletions
|
@ -5242,7 +5242,7 @@ static void printResource(dumpFlags_t dumpMask, const char *headingStr)
|
|||
|
||||
for (int index = 0; index < RESOURCE_VALUE_MAX_INDEX(resourceTable[i].maxIndex); index++) {
|
||||
const ioTag_t ioTag = *(ioTag_t *)((const uint8_t *)currentConfig + resourceTable[i].stride * index + resourceTable[i].offset);
|
||||
ioTag_t ioTagDefault = NULL;
|
||||
ioTag_t ioTagDefault = 0;
|
||||
if (defaultConfig) {
|
||||
ioTagDefault = *(ioTag_t *)((const uint8_t *)defaultConfig + resourceTable[i].stride * index + resourceTable[i].offset);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue