1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 20:10:18 +03:00

[H7] Support USE_DMA_SPEC (#8389)

[H7] Support USE_DMA_SPEC
This commit is contained in:
Michael Keller 2019-06-10 01:20:55 +12:00 committed by GitHub
commit ad00c6b66b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 259 additions and 44 deletions

View file

@ -648,7 +648,7 @@ static const char *dumpPgValue(const clivalue_t *value, dumpFlags_t dumpMask, co
#ifdef DEBUG
if (!pg) {
cliPrintLinef("VALUE %s ERROR", value->name);
return; // if it's not found, the pgn shouldn't be in the value table!
return headingStr; // if it's not found, the pgn shouldn't be in the value table!
}
#endif
@ -5064,9 +5064,12 @@ static void cliDmaopt(char *cmdline)
if (!pch) {
if (entry) {
printPeripheralDmaoptDetails(entry, index, *optaddr, true, DUMP_MASTER, cliDumpPrintLinef);
} else {
}
#if defined(USE_TIMER_MGMT)
else {
printTimerDmaoptDetails(ioTag, timer, orgval, true, DUMP_MASTER, cliDumpPrintLinef);
}
#endif
return;
} else if (strcasecmp(pch, "list") == 0) {