1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Some more const qualifiers, and including sonar for configuration list.

This commit is contained in:
blckmn 2016-10-04 07:14:37 +11:00 committed by blckmn
parent c578c9d6bc
commit 6ea3e47f56
4 changed files with 7 additions and 3 deletions

View file

@ -3691,6 +3691,10 @@ const cliResourceValue_t resourceTable[] = {
{ OWNER_PPMINPUT, &masterConfig.ppmConfig.ioTag, 0 },
{ OWNER_PWMINPUT, &masterConfig.pwmConfig.ioTags[0], PWM_INPUT_PORT_COUNT },
#endif
#ifdef SONAR
{ OWNER_SONAR_TRIGGER, &masterConfig.sonarConfig.triggerTag, 0 },
{ OWNER_SONAR_ECHO, &masterConfig.sonarConfig.echoTag, 0 },
#endif
};
static void cliResource(char *cmdline)