mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Cleanup some enum values - using topic_type instead of type_topic.
This commit is contained in:
parent
31a00d6b4d
commit
946f65601f
15 changed files with 37 additions and 37 deletions
|
@ -1707,7 +1707,7 @@ static const uint8_t mspTelemetryCommandSequence[] = {
|
|||
MSP_SERVO
|
||||
};
|
||||
|
||||
#define MSP_TELEMETRY_COMMAND_SEQUENCE_ENTRY_COUNT (sizeof(mspTelemetryCommandSequence) / sizeof(mspTelemetryCommandSequence[0]))
|
||||
#define TELEMETRY_MSP_COMMAND_SEQUENCE_ENTRY_COUNT (sizeof(mspTelemetryCommandSequence) / sizeof(mspTelemetryCommandSequence[0]))
|
||||
|
||||
static mspPort_t *mspTelemetryPort = NULL;
|
||||
|
||||
|
@ -1758,7 +1758,7 @@ void sendMspTelemetry(void)
|
|||
tailSerialReply();
|
||||
|
||||
sequenceIndex++;
|
||||
if (sequenceIndex >= MSP_TELEMETRY_COMMAND_SEQUENCE_ENTRY_COUNT) {
|
||||
if (sequenceIndex >= TELEMETRY_MSP_COMMAND_SEQUENCE_ENTRY_COUNT) {
|
||||
sequenceIndex = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue