1
0
Fork 0
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:
Dominic Clifton 2015-03-03 22:35:40 +00:00
parent 31a00d6b4d
commit 946f65601f
15 changed files with 37 additions and 37 deletions

View file

@ -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;
}
}