mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Update src/main/rx/rx.c
Co-authored-by: Petr Ledvina <ledvinap@gmail.com>
This commit is contained in:
parent
b77c845e95
commit
c78b07f78a
1 changed files with 1 additions and 1 deletions
|
@ -809,7 +809,7 @@ bool calculateRxChannelsAndUpdateFailsafe(timeUs_t currentTimeUs)
|
|||
void parseRcChannels(const char *input, rxConfig_t *rxConfig)
|
||||
{
|
||||
// Initialize all rc map values to 255 (indicating unmapped)
|
||||
for (uint8_t i = 0; i < RX_MAPPABLE_CHANNEL_COUNT; i++) {
|
||||
for (unsigned i = 0; i < RX_MAPPABLE_CHANNEL_COUNT; i++) {
|
||||
rxConfig->rcmap[i] = RCMAP_UNMAPPED_INDEX;
|
||||
}
|
||||
for (const char *c = input; *c; c++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue