1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-23 16:25:26 +03:00

fix typos in function names

This commit is contained in:
giacomo892 2017-10-03 18:08:45 +02:00 committed by Alberto García Hierro
parent 8ab44f02c5
commit d12b230db2
2 changed files with 2 additions and 2 deletions

View file

@ -1210,7 +1210,7 @@ static mspResult_e mspFcProcessInCommand(uint16_t cmdMSP, sbuf_t *src)
if (i < MAX_MODE_ACTIVATION_CONDITION_COUNT) { if (i < MAX_MODE_ACTIVATION_CONDITION_COUNT) {
modeActivationCondition_t *mac = modeActivationConditionsMutable(i); modeActivationCondition_t *mac = modeActivationConditionsMutable(i);
i = sbufReadU8(src); i = sbufReadU8(src);
const box_t *box = findBoxByPermenantId(i); const box_t *box = findBoxByPermanentId(i);
if (box) { if (box) {
mac->modeId = box->boxId; mac->modeId = box->boxId;
mac->auxChannelIndex = sbufReadU8(src); mac->auxChannelIndex = sbufReadU8(src);

View file

@ -89,7 +89,7 @@ const box_t *findBoxByActiveBoxId(uint8_t activeBoxId)
return NULL; return NULL;
} }
const box_t *findBoxByPermenantId(uint8_t permenantId) const box_t *findBoxByPermanentId(uint8_t permenantId)
{ {
for (uint8_t boxIndex = 0; boxIndex < sizeof(boxes) / sizeof(box_t); boxIndex++) { for (uint8_t boxIndex = 0; boxIndex < sizeof(boxes) / sizeof(box_t); boxIndex++) {
const box_t *candidate = &boxes[boxIndex]; const box_t *candidate = &boxes[boxIndex];